diff develop/models/extractapp.php @ 46:b3ca5d2b4d3f extractapp

bug fix: edit and save regex. But a jquery issue in Chrome
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Mon, 16 Mar 2015 15:49:39 +0100
parents 3d6b8fb7335d
children
line wrap: on
line diff
--- a/develop/models/extractapp.php	Fri Mar 13 14:47:23 2015 +0100
+++ b/develop/models/extractapp.php	Mon Mar 16 15:49:39 2015 +0100
@@ -9,7 +9,7 @@
 	}
     
     protected $section_id = 0, $data_path, $file_id = 0, $current_fileId=0, 
-        $branch_id = 0, $user_id = 0, $lg_text = "", $topic = 0, $taglist_infile = "", $book_meta = "";
+        $branch_id = 0, $user_id = 0, $lg_text = "", $topic, $taglist_infile = "", $book_meta = "";
     public $messages = "";
 
     private function Initialize($_urlvalues) {
@@ -411,7 +411,7 @@
             $require = $this->AppendMetaData($require);
                 
             //saving in my local machine in developing phrase
-            //file_put_contents("data/parsing_files/".$_postdata['sectionId'].".txt", $require);
+            file_put_contents("data/parsing_files/".$_postdata['sectionId'].".txt", $require);
         } 
 
         // ------
@@ -459,7 +459,7 @@
 
         // execute the request
         // **** commended to DEBUG ***
-        $output = curl_exec($ch);
+        //$output = curl_exec($ch);
         // *****
 
         // output the profile information - includes the header