forked from starsea/YafBlog
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
45 lines (30 loc) · 852 Bytes
/
index.php
File metadata and controls
45 lines (30 loc) · 852 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
/**
* @copyright Copyright(c) 2014 yafblog.com
* @file index.php
* @author Lujunjian <hackmyth@163.com>
* @date 2014-03-27
* @version 0.1.2
*/
define('APPLICATION_PATH', dirname(__FILE__));
//应用名称
define("APP_NAME", 'App');
//版本
define("VERSION", '0.1.2');
//开启调试
define("DEBUG", false);
/**
*
* 后台模块名称
* 因本程序属于开源程序,如果不修改默认的后台模块名称,很可能会产生全问题.
*
* 操作步骤:
*
* 1、修改此处后,请求原路径,则会自动修改模块目录,根据提示修改。
* 2、请到conf/yafblog.ini文件中,将相应的模块名修改成新的模块名,则生效。
*
*/
define('ADMIN_NAME','admin');
$application = new Yaf_Application( APPLICATION_PATH . "/conf/yafblog.ini");
$application->bootstrap()->run();
?>