Stage DB 접속 정보 변경
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
$db_host = "mariadb.jisangs.com";
|
||||||
|
$db_user = "chocomae";
|
||||||
|
$db_passwd = "Fr12nds95";
|
||||||
|
$db_name = "chocomae";
|
||||||
|
$db_port = 3306;
|
||||||
|
|
||||||
|
?>
|
||||||
@@ -5,10 +5,10 @@ $hasServiceDBSetting = file_exists(__DIR__."/service_db_setting.php");
|
|||||||
if($hasServiceDBSetting == true) {
|
if($hasServiceDBSetting == true) {
|
||||||
include(__DIR__."/service_db_setting.php");
|
include(__DIR__."/service_db_setting.php");
|
||||||
} else {
|
} else {
|
||||||
$db_host = "localhost";
|
$db_host = "mariadb.jisangs.com";
|
||||||
$db_user = "jisangs";
|
$db_user = "chocomae";
|
||||||
$db_passwd = "Fr12nds95";
|
$db_passwd = "Fr12nds95";
|
||||||
$db_name = "jisangs";
|
$db_name = "chocomae";
|
||||||
}
|
}
|
||||||
if (!isset($db_port)) $db_port = 3306;
|
if (!isset($db_port)) $db_port = 3306;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user