dever 6 سال پیش
والد
کامیت
561833f560
2فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 1
      config/env/localhost/default.php
  2. 0 1
      spider/lib/Get.php

+ 1 - 1
config/env/localhost/default.php

@@ -24,7 +24,7 @@ $config['debug'] = array
 	'log' => array('type' => 'file'),
 	'log' => array('type' => 'file'),
 );
 );
 
 
-$local = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : '0.0.0.0';
+$local = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : '192.168.33.10';
 
 
 $host = 'http://'.$local . '/';
 $host = 'http://'.$local . '/';
 
 

+ 0 - 1
spider/lib/Get.php

@@ -134,7 +134,6 @@ class Get
             $result['pdate'] = $matches[1][0];
             $result['pdate'] = $matches[1][0];
         }
         }
 
 
-
         $where['wechat_id'] = $id;
         $where['wechat_id'] = $id;
         $where['name'] = $result['title'];
         $where['name'] = $result['title'];
         $info = Dever::db('spider/data')->one($where);
         $info = Dever::db('spider/data')->one($where);