mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-21 18:10:16 +00:00
移动安装目录,支持根目录index.php访问,也可以像tp5一样只对外开放crmeb一个目录
This commit is contained in:
parent
19d9b5c102
commit
92c3a73c6d
@ -29,8 +29,8 @@ 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, -14)));
|
define('SITEDIR', _dir_path(substr(dirname(__FILE__), 0, -14)));
|
||||||
//define('SITEDIR2', substr(SITEDIR,0,-7));
|
//define('SITEDIR2', substr(SITEDIR,0,-7));
|
||||||
//echo SITEDIR2;
|
echo SITEDIR;
|
||||||
//exit;
|
//exit;SITEDIR
|
||||||
//数据库
|
//数据库
|
||||||
$sqlFile = 'crmeb.sql';
|
$sqlFile = 'crmeb.sql';
|
||||||
$configFile = 'config.php';
|
$configFile = 'config.php';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user