Browse Source

Update common.inc.php

tags/6.5.0
tianya 1 month ago
parent
commit
22a4eb36a3
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/system/common.inc.php

+ 3
- 0
src/system/common.inc.php View File

@@ -154,6 +154,9 @@ if (PHP_SAPI === 'cli') {
} else {
$cfg_clihost = 'http://'.$_SERVER['HTTP_HOST'];
}
if (!isset($cfg_cmspath)) {
$cfg_cmspath = "";
}
//站点根目录
$cfg_basedir = preg_replace('#'.$cfg_cmspath.'\/system$#i', '', DEDEINC);
if ($cfg_multi_site == 'Y') {


Loading…
Cancel
Save