Skip to content
Snippets Groups Projects
Commit c7cb395c authored by Adrian Lang's avatar Adrian Lang
Browse files

Load libraries after init

parent a958c48c
No related branches found
No related tags found
No related merge requests found
......@@ -40,9 +40,6 @@ if (!defined('DOKU_E_LEVEL')) {
error_reporting(DOKU_E_LEVEL);
}
// load libraries
require_once(DOKU_INC.'inc/load.php');
// init memory caches
global $cache_revinfo;
$cache_revinfo = array();
......@@ -249,8 +246,13 @@ init_files();
scriptify(DOKU_CONF.'users.auth');
scriptify(DOKU_CONF.'acl.auth');
// load libraries
require_once(DOKU_INC.'inc/load.php');
// setup authentication system
auth_setup();
if (!defined('NOSESSION')) {
auth_setup();
}
/**
* Checks paths from config file
......
......@@ -24,9 +24,7 @@ require_once(DOKU_INC.'inc/html.php');
require_once(DOKU_INC.'inc/httputils.php');
require_once(DOKU_INC.'inc/indexer.php');
require_once(DOKU_INC.'inc/infoutils.php');
require_once(DOKU_INC.'inc/init.php');
require_once(DOKU_INC.'inc/io.php');
require_once(DOKU_INC.'inc/load.php');
require_once(DOKU_INC.'inc/mail.php');
require_once(DOKU_INC.'inc/media.php');
require_once(DOKU_INC.'inc/pageutils.php');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment