From 3253b296c21c54df228de39ff3e4775974df81d5 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Fri, 20 May 2011 05:17:27 -0400 Subject: [PATCH] - Clear properly mailboxes cache on folder subscription change --- bin/decrypt.sh | 11 ++++------- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/bin/decrypt.sh b/bin/decrypt.sh index 51a89e9..c1ddd1c 100755 --- a/bin/decrypt.sh +++ b/bin/decrypt.sh @@ -5,8 +5,8 @@ +-----------------------------------------------------------------------+ | bin/decrypt.sh | | | - | This file is part of the RoundCube Webmail client | - | Copyright (C) 2005-2009, RoundCube Dev. - Switzerland | + | This file is part of the Roundcube Webmail client | + | Copyright (C) 2005-2009, The Roundcube Dev Team | | Licensed under the GNU GPL | | | | PURPOSE: | @@ -52,12 +52,9 @@ * - you are dealing with counterfeit header data. */ -if (php_sapi_name() != 'cli') { - die("Not on the 'shell' (php-cli).\n"); -} - define('INSTALL_PATH', realpath(dirname(__FILE__).'/..') . '/'); -require INSTALL_PATH . 'program/include/iniset.php'; + +require INSTALL_PATH . 'program/include/clisetup.php'; if ($argc < 2) { die("Usage: " . basename($argv[0]) . " encrypted-hdr-part [encrypted-hdr-part ...]\n"); -- Gitblit v1.9.1