Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
index.php
1 <?php
26 define('SQ_SYSTEM_ROOT', dirname(dirname(dirname($_SERVER['SCRIPT_FILENAME']))));
27 
28 require_once dirname(dirname(__FILE__)).'/include/init.inc';
29 
30 $GLOBALS['SQ_SYSTEM']->start();
31 $GLOBALS['SQ_SYSTEM']->restoreRunLevel();
32 
33 // make sure nobody has set run levels without restoring
34 $run_level = $GLOBALS['SQ_SYSTEM']->getRunLevel();
35 if (!is_null($run_level)) {
36  trigger_error('A run level has been set without restoring', E_USER_ERROR);
37 }
38 
39 ?>