Mercurial > hg > extraction-interface
diff develop/classes/basemodel.php @ 45:3d6b8fb7335d extractapp
lock the topic tag when edit tag list
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Fri, 13 Mar 2015 14:47:23 +0100 |
parents | 807d3bb33da7 |
children | b3ca5d2b4d3f |
line wrap: on
line diff
--- a/develop/classes/basemodel.php Thu Mar 12 17:58:09 2015 +0100 +++ b/develop/classes/basemodel.php Fri Mar 13 14:47:23 2015 +0100 @@ -9,6 +9,7 @@ protected $save_new_to_LGService_url = "http://localgazetteers-dev/LGServer/rest/text/saveNew"; */ + protected $get_text_from_fileId_url, $get_text_from_sectionId_url, $save_to_LGService_url, $save_new_to_LGService_url; public function __construct() { global $mysql_database, $mysql_server, $mysql_user, $mysql_password, $systemNAME, $lgserver_url; @@ -18,10 +19,7 @@ $this->get_text_from_sectionId_url = $lgserver_url."rest/text/getSectionText?sectionId="; $this->save_to_LGService_url = $lgserver_url."rest/text/save"; $this->save_new_to_LGService_url = $lgserver_url."rest/text/saveNew"; - - - // $this->database = new PDO("mysql:host=localhost;dbname=test", "username", "password"); set_time_limit(0); ini_set('memory_limit', '-1');