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.
29 lines
1.5 KiB
29 lines
1.5 KiB
2 years ago
|
<?php
|
||
|
if(!is_file('../data/install.lock')){
|
||
|
echo "您还没有安装系统,请安装后重试!";exit;
|
||
|
}
|
||
|
date_default_timezone_set('Asia/Chongqing');
|
||
|
set_time_limit(7200);
|
||
|
// +---------------------------------------------------------------------------+
|
||
|
// | An absolute filesystem path to our webapp/config.php script. |
|
||
|
// +---------------------------------------------------------------------------+
|
||
|
require_once(dirname(__FILE__)."/webapp/config.php");
|
||
|
|
||
|
// +---------------------------------------------------------------------------+
|
||
|
// | An absolute filesystem path to the LaiKeTui/laiketui.php script. |
|
||
|
// +---------------------------------------------------------------------------+
|
||
|
require_once(MO_APP_DIR."/laiketui.php");
|
||
|
|
||
|
// +---------------------------------------------------------------------------+
|
||
|
// | Create our controller. For this file we're going to use a front |
|
||
|
// | controller pattern. This pattern allows us to specify module and action |
|
||
|
// | GET/POST parameters and it automatically detects them and finds the |
|
||
|
// | expected action. |
|
||
|
// +---------------------------------------------------------------------------+
|
||
|
$controller = Controller::newInstance('FrontWebController');
|
||
|
|
||
|
// +---------------------------------------------------------------------------+
|
||
|
// | Dispatch our request. |
|
||
|
// +---------------------------------------------------------------------------+
|
||
|
$controller->dispatch();
|
||
|
?>
|