入口文件

#### 默认入口文件内容 ```php header('Content-type: text/html; charset=utf-8'); version_compare(PHP_VERSION, '7.0', '<') and die('QZPHP requires PHP 7.0 or newer.'); // define('ROOT', dirname(strtr(realpath(__DIR__),'\\', '/'))); define('ROOT', strtr(realpath(__DIR__),'\\', '/')); const DS = DIRECTORY_SEPARATOR; const CORE = ROOT.DS.'core'; const APP ='app'; const APP_PATH = ROOT.DS.'app'; require CORE.DS.'init.php'; \core\Hook::init(); \core\init::start(); ``` #### 增加入口文件(多入口) ```php \core\init::start('admin'); ``` 搞定,该入口文件则默认启动admin应用