Explorar el Código

Update common.inc.php

tags/6.5.0
tianya hace 1 mes
padre
commit
22a4eb36a3
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. +3
    -0
      src/system/common.inc.php

+ 3
- 0
src/system/common.inc.php Ver fichero

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


Cargando…
Cancelar
Guardar