Fix: connect_db.php include bug

This commit is contained in:
2022-07-24 01:37:41 +09:00
parent 8c0fd90136
commit cddf4301ac
+2 -2
View File
@@ -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";