浏览代码

代码同步格式化

代码同步格式化
undefined
叙述、别离 2 个月前
父节点
当前提交
4b60eae7a5
共有 3 个文件被更改,包括 4 次插入5 次删除
  1. +3
    -3
      src/admin/statistics_list.php
  2. +0
    -1
      src/system/dedetag.class.php
  3. +1
    -1
      src/system/libraries/fixtures/crawlers.php

+ 3
- 3
src/admin/statistics_list.php 查看文件

@@ -41,7 +41,7 @@ if (isset($dopost) && $dopost == "delete") {
foreach ($ids as $id) foreach ($ids as $id)
{ {
$id = intval($id); $id = intval($id);
if ($dquery == "") $dquery .= "id='$id' ";
if ($dquery == "") $dquery .= " id='$id' ";
else $dquery .= " OR id='$id' "; else $dquery .= " OR id='$id' ";
} }
if ($dquery != "") $dquery = " WHERE ".$dquery; if ($dquery != "") $dquery = " WHERE ".$dquery;
@@ -60,8 +60,8 @@ if (isset($dopost) && $dopost == "delete") {
//流量列表数 //流量列表数
$dlist->pagesize = 30; $dlist->pagesize = 30;
$tplfile = DEDEADMIN."/templets/statistics_list.htm"; $tplfile = DEDEADMIN."/templets/statistics_list.htm";
$dlist->SetParameter("ip",$ip);
$dlist->SetParameter("url_type",$url_type);
$dlist->SetParameter("ip", $ip);
$dlist->SetParameter("url_type", $url_type);
$dlist->SetTemplate($tplfile); $dlist->SetTemplate($tplfile);
$dlist->SetSource($sql); $dlist->SetSource($sql);
$dlist->Display(); $dlist->Display();


+ 0
- 1
src/system/dedetag.class.php 查看文件

@@ -771,7 +771,6 @@ class DedeTagParse
break; break;
} }
} }
// exit;
if ($this->IsCache) { if ($this->IsCache) {
$this->SaveCache(); $this->SaveCache();
} }


+ 1
- 1
src/system/libraries/fixtures/crawlers.php 查看文件

@@ -8,7 +8,7 @@ if (!defined('DEDEINC')) exit('dedebiz');
* This source file is subject to the MIT license that is bundled * This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE. * with this source code in the file LICENSE.
*/ */
require_once(DEDEINC . "/libraries/fixtures/abstractprovider.php");
require_once(DEDEINC."/libraries/fixtures/abstractprovider.php");


class Crawlers extends AbstractProvider class Crawlers extends AbstractProvider
{ {


正在加载...
取消
保存