Update database.php

This commit is contained in:
Namhyeon Go 2018-03-09 21:38:54 +09:00 committed by GitHub
parent 3119418ab1
commit acec61d5ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(