<?php
if (!is_file('./data/install.lock')) {
    header('Location: ./install.php');
    exit;
}
require("./data/config/version.php");
define('APP_NAME', 'app');
define('APP_PATH', dirname(__FILE__).'/app/');
define('Root_PATH', dirname(__FILE__).'/');
define('FTX_DATA_PATH', dirname(__FILE__).'/data/');
define('EXTEND_PATH',	APP_PATH . 'Extend/');
define('CONF_PATH',		FTX_DATA_PATH . 'config/');
define('RUNTIME_PATH',	FTX_DATA_PATH . 'runtime/');
define('HTML_PATH',		FTX_DATA_PATH . 'html/');
define('APP_DEBUG',  false);
require("./thinkphp/setup.php");