mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-01-03 01:58:15 +00:00
移动安装目录,支持根目录index.php访问,也可以像tp5一样只对外开放crmeb一个目录
This commit is contained in:
parent
983eb32239
commit
63018892dc
@ -27,8 +27,8 @@ define("CRMEB_VERSION", '20180601');
|
||||
date_default_timezone_set('PRC');
|
||||
error_reporting(E_ALL & ~E_NOTICE);
|
||||
header('Content-Type: text/html; charset=UTF-8');
|
||||
define('SITEDIR', _dir_path(substr(dirname(__FILE__), 0, -14)));//入口文件目录
|
||||
define('CRMEBDIR', _dir_path(substr(dirname(__FILE__), 0, -8)));//项目目录
|
||||
define('SITEDIR', _dir_path(substr(dirname(__FILE__), 0, -8)));//入口文件目录
|
||||
define('CRMEBDIR', _dir_path(substr(dirname(__FILE__), 0, -14)));//项目目录
|
||||
//define('SITEDIR2', substr(SITEDIR,0,-7));
|
||||
//echo SITEDIR;
|
||||
//exit;SITEDIR
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user