Mercurial > hg > extraction-interface
diff develop/config/config.php @ 40:2e938dc046db extractapp
load,save xml file with topic, etc.
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Tue, 10 Mar 2015 13:46:16 +0100 |
parents | 8347776a44fc |
children | c245d54eab9f |
line wrap: on
line diff
--- a/develop/config/config.php Sun Mar 08 22:28:21 2015 +0100 +++ b/develop/config/config.php Tue Mar 10 13:46:16 2015 +0100 @@ -1,13 +1,24 @@ <?php -// localhost -$systemNAME = "interface"; -$mysql_database = "Gazetteers"; -$mysql_server = "localhost"; -$mysql_user = "root"; -$mysql_password = "root"; +$at_local = false; -$system_root_url = "http://localhost:1080/extraction-interface/develop"; +if (!$at_local) { + // host at localgazetteers-dev server + $systemNAME = "interface"; + $mysql_database = "Gazetteer"; + $mysql_server = "localhost"; + $mysql_user = "root"; + $mysql_password = "admin"; + $system_root_url = "http://localgazetteers-dev/extraction-interface/develop"; +} else { + // localhost + $systemNAME = "interface"; + $mysql_database = "Gazetteers"; + $mysql_server = "localhost"; + $mysql_user = "root"; + $mysql_password = "root"; + $system_root_url = "http://localhost:1080/extraction-interface/develop"; +} ?>