From dcc4469844f8ce98bd8323b684e40cf64643e5ae Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 10 Sep 2014 16:32:28 +0200 Subject: Don't init output in CLI mode Fixes infinite recurssion on raise_error() call when executing scripts out of the INSTALL_PATH. Also use 'rcube' if 'rcmail' is not needed. --- bin/indexcontacts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/indexcontacts.sh') diff --git a/bin/indexcontacts.sh b/bin/indexcontacts.sh index c85a535a7..df403807c 100755 --- a/bin/indexcontacts.sh +++ b/bin/indexcontacts.sh @@ -25,7 +25,7 @@ require_once INSTALL_PATH.'program/include/clisetup.php'; ini_set('memory_limit', -1); // connect to DB -$RCMAIL = rcmail::get_instance(); +$RCMAIL = rcube::get_instance(); $db = $RCMAIL->get_dbh(); $db->db_connect('w'); -- cgit v1.2.3