mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-18 16:02:55 +00:00
移动安装目录,支持根目录index.php访问,也可以像tp5一样只对外开放public一个目录
This commit is contained in:
parent
9aada113cd
commit
752528b980
@ -24,6 +24,6 @@ if(file_exists("./install/") && !file_exists("./install/install.lock")){
|
||||
// 定义应用目录
|
||||
define('APP_PATH', __DIR__ . '/../application/');
|
||||
//静态文件目录
|
||||
define('PUBILC_PATH', '/');
|
||||
define('PUBILC_PATH', '');
|
||||
// 加载框架引导文件
|
||||
require __DIR__ . '/../thinkphp/start.php';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user