From 3e7cc105016d9a047c6499e2b60e5c5419ddce7e Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Mon, 12 Feb 2018 14:44:32 +0900 Subject: [PATCH] Update database.php --- system/database.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/system/database.php b/system/database.php index 0d83c2c..bcd7f0e 100644 --- a/system/database.php +++ b/system/database.php @@ -80,3 +80,6 @@ function exec_db_query($sql, $bind=array(), $options=array()) { return $flag; } + +// set global db connection variable +$dbc = get_db_connect();