includes/dbal.php
changeset 331 03850e101d7f
parent 326 ab66d6d1f1f4
child 348 87e08a6e4fec
equal deleted inserted replaced
330:c94af5b5c40f 331:03850e101d7f
   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     }