Beispiel #1
0
 static function run()
 {
     $ini_array = parse_ini_file("config.ini");
     //print_r($ini_array);
     //echo __FILE__ . ": configfilepath = " .  $ini_array['configFilepath'].'<br>';
     $appHelper = ctrl\ApplicationHelper::instance();
     $appHelper->init($ini_array['siteRoot'] . DIRECTORY_SEPARATOR . $ini_array['configFilepath']);
     $registry = core\ApplicationRegistry::instance();
     $registry->flush();
     $appHelper->init($ini_array['siteRoot'] . DIRECTORY_SEPARATOR . $ini_array['configFilepath']);
 }
Beispiel #2
0
 function init()
 {
     $applicationHelper = ctrl\ApplicationHelper::instance();
     $applicationHelper->init();
 }