diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-04-29 11:44:58 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-04-29 11:44:58 +0200 |
commit | d0aef23ba92656eb9c0e55b26ed01a5d1b555505 (patch) | |
tree | 35f6f83c97a80aaf8b2e965561e687d5c653da41 /bin | |
parent | 90f7aa9e39e744e708a597ff6d1ac83f7c4fcef5 (diff) |
Support sql_debug option here
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/updatedb.sh | 2 |
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()) { |