diff --git a/dedebiz b/dedebiz index 7ec248ed..3e406a3a 100755 --- a/dedebiz +++ b/dedebiz @@ -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("保存目录数据时失败,请检查您的输入资料是否存在问题"); } diff --git a/src/system/archive/listview.class.php b/src/system/archive/listview.class.php index a7662676..d9cbd3eb 100755 --- a/src/system/archive/listview.class.php +++ b/src/system/archive/listview.class.php @@ -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;