ini_set("session.cookie_httponly", 1); header("content-type:text/html; charset=utf-8"); header("X-Frame-Options:SAMEORIGIN"); if (version_compare(PHP_VERSION, '5.5', '<')) { die('PHP版本过低,最少需要PHP5.5,请升级PHP版本!'); } //$_GET['__'] = true; define('APP_DEBUG', !empty($_GET['__']) ? true : false); define('APP_TRACE', !empty($_GET['trace']) ? true : false); define('APP_PATH', __DIR__ . '/app/'); define('CONF_PATH', __DIR__ . '/config/'); define('BIND_MODULE', 'index'); require __DIR__ . '/system/start.php';