dever 6 rokov pred
rodič
commit
561833f560
2 zmenil súbory, kde vykonal 1 pridanie a 2 odobranie
  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'),
 );
 
-$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 . '/';
 

+ 0 - 1
spider/lib/Get.php

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