<?php
/***********************************************************
    
	@function 前台 入口文件

    @Filename index.php $

    @Author zxy$
 $
*************************************************************/
require("./init.php");
if(!file_exists(APP_CORE_PATH.'/Web/Conf/basic.php')) 
{
	header("Content-Type:text/html;charset=utf-8");
	echo '请检查文件 '.dirname(__FILE__).DIRECTORY_SEPARATOR.'init.php 中的[APP_CORE_PATH]配置是否正确!</br>当前配置为'.APP_CORE_PATH.'/Web/Conf/basic.php';
}
//error_reporting(E_ERROR | E_WARNING | E_PARSE);
//define('THINK_PATH',APP_CORE_PATH.'/Core');
define('THINK_PATH',APP_CORE_PATH.'/ThinkPHP');
define('APP_NAME','Web');
define('APP_PATH',APP_CORE_PATH.'/Web');
//require(THINK_PATH."/Core.php");
require(THINK_PATH."/ThinkPHP.php");
//define ('RUNTIME_ALLINONE', true); 2.2需屏
APP::run();