<?php

if (version_compare(PHP_VERSION, '5.4.0', '<')) {

    die('require PHP > 5.4.0 !');
}
// [ 应用入口文件 ]
// 定义应用目录
define('APP_PATH', __DIR__ . '/application/');
require_once APP_PATH."360_safe3.php";
//检查是否安装并获取数据库信息
if (!file_exists(APP_PATH . 'database.php')) {
	header("Cache-Control: no-store, no-cache, must-revalidate");
	header("Pragma: no-cache");
    header("Location: /install/");
    exit();
}
// 加载框架引导文件
require __DIR__ . '/framework/start.php';