Parcourir la source

fix

tags/6.5.6
tianya il y a 3 jours
Parent
révision
4d8e7ae42b
2 fichiers modifiés avec 1 ajouts et 3 suppressions
  1. +1
    -1
      dedebiz
  2. +0
    -2
      src/system/archive/listview.class.php

+ 1
- 1
dedebiz Voir le fichier

@@ -444,7 +444,7 @@ if (count($argv) > 1 && ($argv[1] == "serv" || $argv[1] == "s")) {
require_once($workDir . "/system/common.inc.php");
require_once(DEDEINC . "/libraries/cli.class.php");
for ($t=1; $t <= 10; $t++) {
$in_query = "INSERT INTO `#@__arctype` (reid,topid,sortrank,typename,cnoverview,enname,enoverview,bigpic,litimg,typedir,isdefault,defaultname,issend,channeltype,tempindex,templist,temparticle,modname,namerule,namerule2,ispart,corank,description,keywords,seotitle,moresite,siteurl,sitepath,ishidden,`cross`,`crossid`,`content`,`smalltypes`) VALUES ('0','0','999','测试栏目{$t}','','','','','','{cmspath}/a/ceshilanmu','1','index.html','1','1','{style}/index_article.htm','{style}/list_article.htm','{style}/article_article.htm','default','{typedir}/{aid}.html','{typedir}/{tid}-{page}.html','0','0','测试','测试','','0','','','0','0','','','')";
$in_query = "INSERT INTO `#@__arctype` (reid,topid,sortrank,typename,cnoverview,enname,enoverview,bigpic,litimg,typedir,isdefault,defaultname,issend,channeltype,tempindex,templist,temparticle,modname,namerule,namerule2,ispart,corank,description,keywords,seotitle,moresite,siteurl,sitepath,ishidden,`cross`,`crossid`,`content`,`smalltypes`) VALUES ('0','0','999','测试栏目{$t}','','','','','','{cmspath}/a/ceshilanmu{$t}','1','index.html','1','1','{style}/index_article.htm','{style}/list_article.htm','{style}/article_article.htm','default','{typedir}/{aid}.html','{typedir}/{tid}-{page}.html','0','0','测试','测试','','0','','','0','0','','','')";
if (!$dsql->ExecuteNoneQuery($in_query)) {
DedeCli::error("保存目录数据时失败,请检查您的输入资料是否存在问题");
}


+ 0
- 2
src/system/archive/listview.class.php Voir le fichier

@@ -794,8 +794,6 @@ class ListView
$ismake = 1,
$orderWay = 'desc'
) {
global $cfg_list_son, $cfg_digg_update;
$typeid = $this->TypeID;
if ($row == '') $row = 10;
if ($limitstart == '') $limitstart = 0;
if ($titlelen == '') $titlelen = 100;


Chargement…
Annuler
Enregistrer