summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/updatedb.sh2
1 files changed, 2 insertions, 0 deletions
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()) {