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