From 7949e2f5a96445ba6265f4a1788d9f08fc2bb672 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Wed, 12 Sep 2018 13:46:41 +0900 Subject: [PATCH] Update database.alt.php --- helper/database.alt.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/helper/database.alt.php b/helper/database.alt.php index 5c48e91..ae79c22 100644 --- a/helper/database.alt.php +++ b/helper/database.alt.php @@ -20,6 +20,9 @@ if(!function_exists("exec_db_alt_callback")) { $result = call_user_func($rule['callback']); } } + } else { + set_error(sprintf("Can not load %s database driver.", $rule['driver'])); + show_errors(); } break; }