forked from GNUsocial/gnu-social
Auto/Lazy load the class files
darcs-hash:20080724234701-533db-ceab005e4c418a62d49af04e7835e963b67b03e0.gz
This commit is contained in:
parent
dd3ae36084
commit
341563d6cd
@ -111,17 +111,10 @@ require_once(INSTALLDIR.'/lib/action.php');
|
|||||||
require_once(INSTALLDIR.'/lib/theme.php');
|
require_once(INSTALLDIR.'/lib/theme.php');
|
||||||
require_once(INSTALLDIR.'/lib/mail.php');
|
require_once(INSTALLDIR.'/lib/mail.php');
|
||||||
|
|
||||||
require_once(INSTALLDIR.'/classes/Avatar.php');
|
function __autoload($class) {
|
||||||
require_once(INSTALLDIR.'/classes/Notice.php');
|
if (file_exists(INSTALLDIR.'/classes/' . $class . '.php')) {
|
||||||
require_once(INSTALLDIR.'/classes/Profile.php');
|
require_once(INSTALLDIR.'/classes/' . $class . '.php');
|
||||||
require_once(INSTALLDIR.'/classes/Remote_profile.php');
|
}
|
||||||
require_once(INSTALLDIR.'/classes/Subscription.php');
|
}
|
||||||
require_once(INSTALLDIR.'/classes/User.php');
|
|
||||||
require_once(INSTALLDIR.'/classes/Confirm_address.php');
|
|
||||||
require_once(INSTALLDIR.'/classes/Remember_me.php');
|
|
||||||
require_once(INSTALLDIR.'/classes/Queue_item.php');
|
|
||||||
require_once(INSTALLDIR.'/classes/Reply.php');
|
|
||||||
require_once(INSTALLDIR.'/classes/Notice_tag.php');
|
|
||||||
require_once(INSTALLDIR.'/classes/Sms_carrier.php');
|
|
||||||
|
|
||||||
require_once('markdown.php');
|
require_once('markdown.php');
|
||||||
|
Loading…
Reference in New Issue
Block a user