Update database.php

This commit is contained in:
Namhyeon Go 2018-03-19 02:11:27 +09:00 committed by GitHub
parent bc362adbef
commit 34168b2bba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,5 +148,12 @@ if(!function_exists("get_page_range")) {
}
}
// alias sql_query from exec_stmt_query
if(!function_exists("sql_query")) {
function sql_query($sql, $bind=array()) {
return exec_stmt_query($sql, $bind);
}
}
// set global db connection variable
$dbc = get_db_connect();