Mercurial > hg > extraction-interface
comparison config/config.php @ 109:b74bfc633790 extractapp
Commit from test site
author | Calvin Yeh <cyeh@mpipw-berlin.mpg.com> |
---|---|
date | Tue, 21 Mar 2017 18:23:34 +0100 |
parents | 2cc65ff46174 |
children |
comparison
equal
deleted
inserted
replaced
108:025530e37dcd | 109:b74bfc633790 |
---|---|
12 */ | 12 */ |
13 | 13 |
14 global $AT_LOCAL, $mysql_database, $mysql_server, $mysql_user, $mysql_password, $server_host, $lgserver_url, | 14 global $AT_LOCAL, $mysql_database, $mysql_server, $mysql_user, $mysql_password, $server_host, $lgserver_url, |
15 $systemNAME, $system_root_url; | 15 $systemNAME, $system_root_url; |
16 | 16 |
17 $AT_LOCAL = true; | 17 $AT_LOCAL = false; |
18 | 18 |
19 if (!$AT_LOCAL) { | 19 if (!$AT_LOCAL) { |
20 // host at localgazetteers-dev server | 20 // host at localgazetteers-dev server |
21 //$mysql_database = "Gazetteer"; // move the functional tables from Gazetteer database to LGServices database | 21 //$mysql_database = "Gazetteer"; // move the functional tables from Gazetteer database to LGServices database |
22 $mysql_database = "LGServices"; | 22 $mysql_database = "LGServices"; |
23 | 23 |
24 $mysql_server = "localhost"; | 24 $mysql_server = "localhost"; |
25 $mysql_user = "root"; | 25 $mysql_user = "root"; |
26 $mysql_password = "admin"; | 26 $mysql_password = "admin"; |
27 $server_host = "http://localgazetteers-test.mpiwg-berlin.mpg.de/"; | 27 $server_host = "https://localgazetteers-test.mpiwg-berlin.mpg.de/"; |
28 $lgserver_url = $server_host."LGServices/"; | 28 $lgserver_url = $server_host."LGServices/"; |
29 | 29 |
30 } else { | 30 } else { |
31 // localhost | 31 // localhost |
32 //$mysql_database = "Gazetteer"; // move the functional tables from Gazetteer database to LGServices database | 32 //$mysql_database = "Gazetteer"; // move the functional tables from Gazetteer database to LGServices database |
33 $mysql_database = "LGServices"; | 33 $mysql_database = "LGServices"; |
34 | 34 |
35 $mysql_server = "localhost"; | 35 $mysql_server = "localhost"; |
36 $mysql_user = "root"; | 36 $mysql_user = "root"; |
37 $mysql_password = "root"; | 37 $mysql_password = "root"; |
38 | 38 $server_host = "http://localhost:1080/localgazetteers/"; |
39 | |
40 $server_host = "http://localhost:1080/localgazetteers-dev/"; | |
41 $lgserver_url = "http://localhost:8080/LGServices/"; | 39 $lgserver_url = "http://localhost:8080/LGServices/"; |
42 } | 40 } |
43 | 41 |
44 $systemNAME = "interface"; | 42 $systemNAME = "interface"; |
45 $system_root_url = $server_host."extraction-interface"; | 43 $system_root_url = $server_host."extraction-interface"; |