瀏覽代碼

Update channelunit.helper.php

tags/6.1.7
xushubieli 2 年之前
父節點
當前提交
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) {
//跳转网址


Loading…
取消
儲存