<?php
defined('ROOT_PATH') or define('ROOT_PATH', dirname(__FILE__));
if (!is_file(ROOT_PATH . '/data/install.lock')) {
    header('Location: ./install.php');
    exit;
}
define('THINK_PATH', './includes/thinkphp/');
define('APP_NAME', 'admin');
define('APP_PATH', './admin/');
//define('APP_DEBUG', true);
require( THINK_PATH."ThinkPHP.php");