Core lib of filesite.io, a small PHP Framework.
https://fsc.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.
12 lines
380 B
12 lines
380 B
3 years ago
|
<?php
|
||
|
/* All php controller enter from here */
|
||
|
require_once __DIR__ . '/../lib/FSC.php';
|
||
|
require_once __DIR__ . '/../controller/Controller.php';
|
||
|
|
||
|
|
||
|
//run app
|
||
|
$config = require_once __DIR__ . '/../conf/app.php';
|
||
|
$default_timezone = !empty($config['default_timezone']) ? $config['default_timezone'] : 'Asia/HongKong';
|
||
|
date_default_timezone_set($default_timezone);
|
||
|
|
||
|
FSC::run($config);
|