From d0aef23ba92656eb9c0e55b26ed01a5d1b555505 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 29 Apr 2014 11:44:58 +0200 Subject: Support sql_debug option here --- bin/updatedb.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') diff --git a/bin/updatedb.sh b/bin/updatedb.sh index f504634f1..daee6e835 100755 --- a/bin/updatedb.sh +++ b/bin/updatedb.sh @@ -45,6 +45,8 @@ if (!file_exists($opts['dir'])) { $RC = rcube::get_instance(); $DB = rcube_db::factory($RC->config->get('db_dsnw')); +$DB->set_debug((bool)$RC->config->get('sql_debug')); + // Connect to database $DB->db_connect('w'); if (!$DB->is_connected()) { -- cgit v1.2.3