ソースを参照

Update common.inc.php

tags/6.5.0
tianya 1ヶ月前
コミット
22a4eb36a3
1個のファイルの変更3行の追加0行の削除
  1. +3
    -0
      src/system/common.inc.php

+ 3
- 0
src/system/common.inc.php ファイルの表示

@@ -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') {


読み込み中…
キャンセル
保存