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.
 

30 lines
1.5 KiB

<?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();
?>