From 8079f7eca2e220f5818a77e0cb5043eb5ad0fff4 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Tue, 19 Jul 2016 19:43:22 +0000 Subject: [PATCH] Removed debug option set in getConnection(). Non needed for production systems. --- WEB-INF/lib/common.lib.php | 1 - WEB-INF/templates/footer.tpl | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/WEB-INF/lib/common.lib.php b/WEB-INF/lib/common.lib.php index b419860c..2f3fd5b2 100644 --- a/WEB-INF/lib/common.lib.php +++ b/WEB-INF/lib/common.lib.php @@ -122,7 +122,6 @@ function import($class_name) { die($mdb2->getMessage()); } - $mdb2->setOption('debug', true); $mdb2->setFetchMode(MDB2_FETCHMODE_ASSOC); $GLOBALS["_MDB2_CONNECTION"] = $mdb2; diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index f00c6c8e..1a7c40b7 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.9.26.3505 | Copyright © Anuko | +  Anuko Time Tracker 1.9.26.3506 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1