View | Annotate | Download (3.3 KB)
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.
Go away evil carriage returns\!
deregister globals to install too
add proper die() statements although /develop is never ever shipped with phpBB…
elseif -> else if
filenames and directories are lowercase only
oops ;-)
Case folding! :D