Register
phpBB.com Wiki · Home Projects Help

root / trunk / phpBB / develop / repair_bots.php

repair_bots.php

View | Annotate | Download (5 KB)

# Date Author Comment
8599 View | Annotate 06/04/2008 05:38 PM naderman

removed executable props [Bug #6464]

8572 View | Annotate 05/29/2008 02:25 PM acydburn

ok… i hope i haven’t messed too much with the code and everything is still working.
Changes:
- Ascraeus now uses constants for the phpbb root path and the php extension. This ensures more security for external applications and modifications (no more overwriting of root path and extension possible through insecure mods and register globals enabled) as well as no more globalizing needed.
- A second change implemented here is an additional short-hand-notation for append_sid(). It is allowed to omit the root path and extension now (for example calling append_sid(‘memberlist’)) – in this case the root path and extension get added automatically. The hook is called after these are added.

8477 View | Annotate 03/29/2008 01:08 AM naderman

Go away evil carriage returns\!

8372 View | Annotate 02/03/2008 11:19 AM davidmj

Alright, this should give some improved performance :)

This is the end of random seek access to rows. If you have a compelling reason as to why they should stay, contact me. Else, they are gone forevermore…

The following API calls are deprecated:
acm::sql_rowseek() > no replacement
$db
>sql_fetchfield($field, $rownum = false, $query_id = false) > $db>sql_fetchfield($field, $query_id = false)

Initial tests show that phpBB3 over four percent of memory against phpBB3.1 on an empty board. So far so good :)

Other cool things:
db2, MS SQL ODBC and MS SQL 2005 all use less memory because they do not need to reference the last executed query to handle random access seeks :)

P.S.
The crazy people using SVN: please report any issues with the new way we itterate through caches, I do not want to miss anything :)

8222 View | Annotate 11/01/2007 02:01 PM kellanved

okay, enough

8221 View | Annotate 11/01/2007 01:49 PM kellanved

...

8220 View | Annotate 11/01/2007 01:26 PM kellanved

This might work for people who b0rked their BOTs table and thus have bots browsing as normal users.

Use with extreme caution. On a backup.