Ver código fonte

change linux path

stanley-king 9 anos atrás
pai
commit
b5ef523986
2 arquivos alterados com 7 adições e 6 exclusões
  1. 5 5
      crontab/crawl/fetch_goods.php
  2. 2 1
      crontab/crawl/upload_control.php

+ 5 - 5
crontab/crawl/fetch_goods.php

@@ -30,11 +30,11 @@ date_default_timezone_set('Asia/Shanghai');
 //$tmreq = new tmrequest();
 //$tmreq->proc();
 
-$treater = new pretreat_tmdata();
-$treater->proc();
-
-$spec = new spec_attr();
-$spec->proc();
+//$treater = new pretreat_tmdata();
+//$treater->proc();
+//
+//$spec = new spec_attr();
+//$spec->proc();
 
 $importer = new product_importer();
 $importer->proc();

+ 2 - 1
crontab/crawl/upload_control.php

@@ -27,7 +27,8 @@ class upload_control
     }
 
     const POST_NAME = 'goods_image';
-    const tmp_file = '/private/var/tmp/phpxxkkdl';
+    //const tmp_file = '/private/var/tmp/phpxxkkdl';
+    const tmp_file = '/phpxxkkdl';
 
     private function fill_files($filename)
     {