ShuanghongS 7 hónapja
szülő
commit
e744efe925
1 módosított fájl, 16 hozzáadás és 16 törlés
  1. 16 16
      libs/map_config.ini.php

+ 16 - 16
libs/map_config.ini.php

@@ -12,12 +12,12 @@ if ($_SESSION['ONLINE_USER']['is_demo'] == "t") {
     $_CBP_DB['port'] = '5432';
     $_CBP_DB['type'] = 'postgres';
 } else {
-    // $_CBP_DB['host'] = '192.168.8.82';
-    // $_CBP_DB['username'] = 'ksmap';
-    // $_CBP_DB['password'] = 'A876ctG$Fex!!';
-    // $_CBP_DB['dbname'] = 'redant_online';
-    // $_CBP_DB['port'] = '5437';
-    // $_CBP_DB['type'] = 'postgres';
+    $_CBP_DB['host'] = '192.168.8.82';
+    $_CBP_DB['username'] = 'ksmap';
+    $_CBP_DB['password'] = 'A876ctG$Fex!!';
+    $_CBP_DB['dbname'] = 'redant_online';
+    $_CBP_DB['port'] = '5437';
+    $_CBP_DB['type'] = 'postgres';
 
     // $_CBP_DB['host'] = '192.168.0.121';
     // $_CBP_DB['username'] = 'root';
@@ -26,16 +26,16 @@ if ($_SESSION['ONLINE_USER']['is_demo'] == "t") {
     // $_CBP_DB['port'] = '5434';
     // $_CBP_DB['type'] = 'postgres';
 
-    $_CBP_DB['host'] = '192.168.0.177';
-    $_CBP_DB['username'] = 'root';
-    $_CBP_DB['password'] = '123456';
-    if (!empty($_GET['_schemas'])) {
-        $_CBP_DB['dbname'] = 'redant_online_new2';
-    } else {
-        $_CBP_DB['dbname'] = 'redant_online_new2';
-    }
-    $_CBP_DB['port'] = '5433';
-    $_CBP_DB['type'] = 'postgres';
+    // $_CBP_DB['host'] = '192.168.0.177';
+    // $_CBP_DB['username'] = 'root';
+    // $_CBP_DB['password'] = '123456';
+    // if (!empty($_GET['_schemas'])) {
+    //     $_CBP_DB['dbname'] = 'redant_online_new2';
+    // } else {
+    //     $_CBP_DB['dbname'] = 'redant_online_new2';
+    // }
+    // $_CBP_DB['port'] = '5433';
+    // $_CBP_DB['type'] = 'postgres';
 }
 
 $mapdb_url = "host=" . $_CBP_DB['host'] . " port=" . $_CBP_DB['port'] . " dbname=" . $_CBP_DB['dbname'] . " user=" . $_CBP_DB['username'] . " password=" . $_CBP_DB['password'];