[pLog-svn] r2115 - plugins/trunk/secret/class/security
Benjamin Krause
ork at orkland.de
Mon May 30 11:39:36 GMT 2005
mark at devel.plogworld.net wrote:
> Author: mark
> Date: 2005-05-30 11:17:34 +0000 (Mon, 30 May 2005)
> New Revision: 2115
>
> Modified:
> plugins/trunk/secret/class/security/secretitemfilter.class.php
> Log:
> Fix the bug http://bugs.plogworld.net/view.php?id=542
Hey Mark,
i would like to encourage you to reorganize the includes. one of the
main speed improvements in 1.1 will be the fact that we only include
what we really need. :)
so instead of placing all includes at the top of the class (which is a
good way of coding for non-interpreted languages), i would suggest
placing the includes right before the line where the class is used. e.g.
if( $userName ) {
include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
$users =& new Users();
[...]
Ben
More information about the pLog-svn
mailing list