Pārlūkot izejas kodu

Update listview.class.php

tags/6.3.0
叙述、别离 pirms 1 gada
vecāks
revīzija
34490692cd
1 mainītis faili ar 6 papildinājumiem un 2 dzēšanām
  1. +6
    -2
      src/system/archive/listview.class.php

+ 6
- 2
src/system/archive/listview.class.php Parādīt failu

@@ -588,7 +588,9 @@ class ListView
//跳转网址
return $this->Fields['typedir'];
}
CreateDir(MfTypedir($this->Fields['typedir']));
if ($this->TypeLink->TypeInfos['isdefault'] != -1) {
CreateDir(MfTypedir($this->Fields['typedir']));
}
$makeUrl = $this->GetMakeFileRule($this->Fields['id'], "index", MfTypedir($this->Fields['typedir']), $this->Fields['defaultname'], $this->Fields['namerule2']);
$makeUrl = preg_replace("/\/{1,}/", "/", $makeUrl);
$makeFile = $this->GetTruePath().$makeUrl;
@@ -629,7 +631,9 @@ class ListView
header("Location:$gotourl");
exit();
}
CreateDir(MfTypedir($this->Fields['typedir']));
if ($this->TypeLink->TypeInfos['isdefault'] != -1) {
CreateDir(MfTypedir($this->Fields['typedir']));
}
$makeUrl = $this->GetMakeFileRule($this->Fields['id'], "index", MfTypedir($this->Fields['typedir']), $this->Fields['defaultname'], $this->Fields['namerule2']);
$makeFile = $this->GetTruePath().$makeUrl;
if ($nmfa == 0) {


Notiek ielāde…
Atcelt
Saglabāt