Update index.php
This commit is contained in:
parent
f323fdbde0
commit
1a1b6209c5
|
@ -3,7 +3,7 @@
|
|||
* @file index.php
|
||||
* @date 2017-12-18
|
||||
* @author Go Namhyeon <gnh1201@gmail.com>
|
||||
* @brief VerySimplePHPFramework
|
||||
* @brief ReasonablePHPFramework
|
||||
* @cvs http://github.com/gnh1201/verysimplephpframework
|
||||
*/
|
||||
|
||||
|
@ -29,6 +29,9 @@ foreach($load_systems as $system_name) {
|
|||
$default_timezone = array_key_empty("timezone", $config) ? $config['timezone'] : "UTC";
|
||||
date_default_timezone_set($default_timezone);
|
||||
|
||||
// start session (enable $_SESSON)
|
||||
session_start();
|
||||
|
||||
// route controller
|
||||
$route = '';
|
||||
if(array_key_exists('route', $_REQUEST)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user