diff --git a/index.php b/index.php index 07c2a8d6..ae2516dc 100644 --- a/index.php +++ b/index.php @@ -39,6 +39,8 @@ if(file_exists(BASE . 'install') && (!isset($config['installed']) || !$config['i die('Setup detected that install/ directory exists. Please visit this url to start MyAAC Installation.
Delete install/ directory if you already installed MyAAC.
Remember to REFRESH this page when you\'re done!'); } +require_once(SYSTEM . 'functions.php'); + $uri = $_SERVER['REQUEST_URI']; if(!empty(BASE_DIR)) $uri = str_replace(BASE_DIR . '/', '', $uri); @@ -127,7 +129,6 @@ define('PAGE', $page); $template_place_holders = array(); -require_once(SYSTEM . 'functions.php'); require_once(SYSTEM . 'init.php'); require_once(SYSTEM . 'login.php'); require_once(SYSTEM . 'status.php');