Update database.php

This commit is contained in:
Namhyeon Go 2019-02-23 00:51:27 +09:00 committed by GitHub
parent d2264160e0
commit f2b18ce314
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,12 @@ if(!function_exists("get_db_driver")) {
}
}
if(!function_exists("check_db_driver")) {
function check_db_driver($db_driver) {
return (get_db_driver() == $db_driver);
}
}
if(!function_exists("get_db_connect")) {
function get_db_connect($a=3, $b=0) {
$conn = false;