equal
deleted
inserted
replaced
162 if($sp == '/' || $sp == '\\') $sp = ''; |
162 if($sp == '/' || $sp == '\\') $sp = ''; |
163 define('scriptPath', $sp); |
163 define('scriptPath', $sp); |
164 define('contentPath', "$sp/index.php?title="); |
164 define('contentPath', "$sp/index.php?title="); |
165 } |
165 } |
166 $loc = scriptPath . '/install.php'; |
166 $loc = scriptPath . '/install.php'; |
|
167 define('IN_ENANO_INSTALL', 1); |
|
168 $GLOBALS['lang'] = new Language('eng'); |
|
169 global $lang; |
|
170 $lang->load_file('./language/english/enano.json'); |
|
171 $lang->load_file('./language/english/install.json'); |
167 // header("Location: $loc"); |
172 // header("Location: $loc"); |
168 redirect($loc, 'Enano not installed', 'We can\'t seem to find an Enano installation (valid config file). You will be transferred to the installation wizard momentarily...', 3); |
173 redirect($loc, 'Enano not installed', 'We can\'t seem to find an Enano installation (valid config file). You will be transferred to the installation wizard momentarily...', 3); |
169 exit; |
174 exit; |
170 } |
175 } |
171 } |
176 } |