-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.php
More file actions
26 lines (26 loc) · 858 Bytes
/
index.php
File metadata and controls
26 lines (26 loc) · 858 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
/**
*
* index(入口文件)
*
* @package Yourphp
* @author liuxun QQ:147613338 <web@yourphp.cn>
* @copyright Copyright (c) 2008-2011 (http://www.yourphp.cn)
* @license http://www.yourphp.cn/license.txt
* @version YourPHP企业网站管理系统 v2.1 2012-10-08 yourphp.cn $
*/
if(!is_file('./Cache/config.php'))header("location: ./Install");
header("Content-type: text/html;charset=utf-8");
ini_set('memory_limit','32M');
error_reporting(E_ERROR | E_WARNING | E_PARSE);
define('Yourphp',true);
define('UPLOAD_PATH','./Uploads/');
define('VERSION','v2.2 Released');
define('UPDATETIME','20121119');
define('APP_NAME','Yourphp');
define('APP_PATH','./Yourphp/');
define('APP_LANG',true);
define('APP_DEBUG',false);
define('THINK_PATH','./Core/');
require(THINK_PATH.'Core.php');
?>