Fix: connect_db.php include bug
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
// load service db setting
|
// load service db setting
|
||||||
$hasServiceDBSetting = file_exists("./../setup/service_db_setting.php");
|
$hasServiceDBSetting = file_exists(__DIR__."/service_db_setting.php");
|
||||||
if($hasServiceDBSetting == true) {
|
if($hasServiceDBSetting == true) {
|
||||||
include("./../setup/service_db_setting.php");
|
include(__DIR__."/service_db_setting.php");
|
||||||
} else {
|
} else {
|
||||||
$db_host = "localhost";
|
$db_host = "localhost";
|
||||||
$db_user = "jisangs";
|
$db_user = "jisangs";
|
||||||
|
|||||||
Reference in New Issue
Block a user