Просмотр исходного кода

Update channelunit.helper.php

tags/6.1.7
xushubieli 3 лет назад
Родитель
Сommit
8ecbc9708f
1 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -2
      src/system/helpers/channelunit.helper.php

+ 2
- 2
src/system/helpers/channelunit.helper.php Просмотреть файл

@@ -203,10 +203,10 @@ if (!function_exists('GetTypeUrl')) {
global $cfg_typedir_df;
$typedir = MfTypedir($typedir);
$sitepath = MfTypedir($sitepath);
//伪静态栏目,Nginx伪静态规则参考:rewrite ^/list([0-9]+)$ /apps/list.php?tid=$1;rewrite ^/list([0-9]+)-([0-9]+)$ /apps/list.php?tid=$1&PageNo=$2;
//伪静态栏目,Nginx伪静态规则参考:rewrite ^/list-([0-9]+)$ /apps/list.php?tid=$1;rewrite ^/list-([0-9]+)-([0-9]+)$ /apps/list.php?tid=$1&PageNo=$2;
if($isdefault==-1) {
//目录版
$reurl = "/list".$typeid."";
$reurl = "/list-".$typeid."";
//网页版$reurl = "/list".$typeid.".html";
} else if ($ispart == 2) {
//跳转网址


Загрузка…
Отмена
Сохранить