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