Skip to content
Snippets Groups Projects
Commit 402b7162 authored by Jared Hancock's avatar Jared Hancock
Browse files

Merge branch 'issue/root-dir' into hotfix/171

parents ddfd7426 86f8c6e5
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ if(!strcasecmp(basename($_SERVER['SCRIPT_NAME']),basename(__FILE__)) || !defined
#Install flag
define('OSTINSTALLED',FALSE);
if(OSTINSTALLED!=TRUE){
if(!file_exists(ROOT_PATH.'setup/install.php')) die('Error: Contact system admin.'); //Something is really wrong!
if(!file_exists(ROOT_DIR.'setup/install.php')) die('Error: Contact system admin.'); //Something is really wrong!
//Invoke the installer.
header('Location: '.ROOT_PATH.'setup/install.php');
exit;
......
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