<?php
if (!is_file('./data/install.lock')) {
    header('Location: ./install.php');
    exit;
}

define('FTX_VERSION', '4.1');
define('FTX_RELEASE', '2013042875');
define('APP_NAME', 'app');
define('APP_PATH', './app/');
define('FTX_DATA_PATH', './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', true);
require("./thinkphp/setup.php");