diff options
author | Andreas Gohr <andi@splitbrain.org> | 2010-01-31 19:02:14 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2010-01-31 19:02:14 +0100 |
commit | 16905344219a6293705b71cd526fad3ba07b04eb (patch) | |
tree | 0fbb1eb7af4a90cb0cd569bb02f6d219ea790dd7 /doku.php | |
parent | fcd3bb7cfe60027407e0af2ec83fafbf89758e9c (diff) | |
download | rpg-16905344219a6293705b71cd526fad3ba07b04eb.tar.gz rpg-16905344219a6293705b71cd526fad3ba07b04eb.tar.bz2 |
first attempt to centralize all include loading
Classes are loaded throug PHP5's class autoloader, all other
includes are just loaded by default. This skips a lot of
require_once calls.
Parser and Plugin stuff isn't handled by the class loader yet.
Diffstat (limited to 'doku.php')
-rw-r--r-- | doku.php | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -20,13 +20,8 @@ if (isset($_SERVER['HTTP_X_DOKUWIKI_DO'])){ $ACT = 'show'; } +// load and initialize the core system require_once(DOKU_INC.'inc/init.php'); -require_once(DOKU_INC.'inc/common.php'); -require_once(DOKU_INC.'inc/events.php'); -require_once(DOKU_INC.'inc/pageutils.php'); -require_once(DOKU_INC.'inc/html.php'); -require_once(DOKU_INC.'inc/auth.php'); -require_once(DOKU_INC.'inc/actions.php'); //import variables $QUERY = trim($_REQUEST['id']); |