Update database.php
This commit is contained in:
parent
3119418ab1
commit
acec61d5ce
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
if(!function_exists("get_db_connect")) {
|
if(!function_exists("get_db_connect")) {
|
||||||
function get_db_connect() {
|
function get_db_connect() {
|
||||||
global $config;
|
$config = get_config();
|
||||||
|
|
||||||
$conn = new PDO(
|
$conn = new PDO(
|
||||||
sprintf(
|
sprintf(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user