Skip to content

Commit

Permalink
更新入口文件
Browse files Browse the repository at this point in the history
  • Loading branch information
royalwang committed Sep 4, 2018
1 parent 024d519 commit 6f8cf53
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions index.php
Expand Up @@ -55,16 +55,6 @@
// 站点根目录
define('SITE_ROOT', dirname(__FILE__) . DIRECTORY_SEPARATOR);

// 判断PHP最低版本
if (version_compare(PHP_VERSION, '5.4.0', '<')) {
echo 'Current PHP Version: ' . PHP_VERSION . ', Required Version: 5.4.0';
exit();
}

require SITE_ROOT . 'vendor/autoload.php';

require ROYALCMS_PATH . 'bootstrap/start.php';

royalcms::start();
require SITE_ROOT . 'content/bootstrap/kernel.php';

// end

0 comments on commit 6f8cf53

Please sign in to comment.