Source code of filesite.io.
https://filesite.io
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
470 B
13 lines
470 B
<?php |
|
/* All php controller enter from here */ |
|
$start_time = microtime(true); //for time cost |
|
$config = require_once __DIR__ . '/../conf/app.php'; |
|
$default_timezone = !empty($config['default_timezone']) ? $config['default_timezone'] : 'Asia/HongKong'; |
|
date_default_timezone_set($default_timezone); |
|
$config['start_time'] = $start_time; |
|
|
|
require_once __DIR__ . '/../lib/FSC.php'; |
|
require_once __DIR__ . '/../controller/Controller.php'; |
|
|
|
//run app |
|
FSC::run($config); |