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; }