annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
63e08b98032f rewrite extraction interface into PHP MVC architecture.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
diff changeset
1 <?php
63e08b98032f rewrite extraction interface into PHP MVC architecture.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
diff changeset
2
40
2e938dc046db load,save xml file with topic, etc.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents: 39
diff changeset
3 $at_local = false;
6
63e08b98032f rewrite extraction interface into PHP MVC architecture.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
diff changeset
4
40
2e938dc046db load,save xml file with topic, etc.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents: 39
diff changeset
5 if (!$at_local) {
2e938dc046db load,save xml file with topic, etc.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents: 39
diff changeset
6 // host at localgazetteers-dev server
2e938dc046db load,save xml file with topic, etc.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents: 39
diff changeset
7 $systemNAME = "interface";
2e938dc046db load,save xml file with topic, etc.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents: 39
diff changeset
8 $mysql_database = "Gazetteer";
2e938dc046db load,save xml file with topic, etc.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents: 39
diff changeset
9 $mysql_server = "localhost";
2e938dc046db load,save xml file with topic, etc.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents: 39
diff changeset
10 $mysql_user = "root";
2e938dc046db load,save xml file with topic, etc.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents: 39
diff changeset
11 $mysql_password = "admin";
2e938dc046db load,save xml file with topic, etc.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents: 39
diff changeset
12 $system_root_url = "http://localgazetteers-dev/extraction-interface/develop";
39
8347776a44fc embedded topic, taglist,book metadata in file
Zoe Hong <zhong@mpiwg-berlin.mpg.de
parents: 37
diff changeset
13
40
2e938dc046db load,save xml file with topic, etc.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents: 39
diff changeset
14 } else {
2e938dc046db load,save xml file with topic, etc.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents: 39
diff changeset
15 // localhost
2e938dc046db load,save xml file with topic, etc.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents: 39
diff changeset
16 $systemNAME = "interface";
2e938dc046db load,save xml file with topic, etc.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents: 39
diff changeset
17 $mysql_database = "Gazetteers";
2e938dc046db load,save xml file with topic, etc.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents: 39
diff changeset
18 $mysql_server = "localhost";
2e938dc046db load,save xml file with topic, etc.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents: 39
diff changeset
19 $mysql_user = "root";
2e938dc046db load,save xml file with topic, etc.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents: 39
diff changeset
20 $mysql_password = "root";
2e938dc046db load,save xml file with topic, etc.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents: 39
diff changeset
21 $system_root_url = "http://localhost:1080/extraction-interface/develop";
2e938dc046db load,save xml file with topic, etc.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents: 39
diff changeset
22 }
12
e82ca7375e93 Integration with LocalGazetteerService (LGService), getting text from LGService and saving text to LGService. Adjust the control flow (controller).
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents: 6
diff changeset
23
6
63e08b98032f rewrite extraction interface into PHP MVC architecture.
Zoe Hong <zhong@mpiwg-berlin.mpg.de>
parents:
diff changeset
24 ?>