Update index.php

This commit is contained in:
Namhyeon Go 2019-02-22 23:37:01 +09:00 committed by GitHub
parent e7f6afce81
commit 3b8ae917b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,9 @@ if(APP_DEVELOPMENT == true) {
ini_set("display_errors", 1);
}
// set empty scope
$scope = array();
// define system modules
$load_systems = array("base", "storage", "config", "database", "uri", "security", "logger");
@ -33,7 +36,8 @@ foreach($load_systems as $system_name) {
}
}
}
// get config
$config = get_config();
// set max_execution_time
@ -52,7 +56,7 @@ date_default_timezone_set($default_timezone);
// write visit log
write_visit_log();
// get route (controller)
// get requested route
$route = read_route();
// load route file