From 42de33c7dee0dc48e54d317eefd4dac18c317e42 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Wed, 5 Jun 2013 09:10:08 +0200 Subject: Add option to use PHP's native session save handlers --- bin/gc.sh | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 bin/gc.sh (limited to 'bin') diff --git a/bin/gc.sh b/bin/gc.sh new file mode 100755 index 000000000..d09961572 --- /dev/null +++ b/bin/gc.sh @@ -0,0 +1,28 @@ +#!/usr/bin/env php + | + +-----------------------------------------------------------------------+ +*/ + +define('INSTALL_PATH', realpath(dirname(__FILE__) . '/..') . '/' ); + +require INSTALL_PATH.'program/include/clisetup.php'; + +$rcmail = rcube::get_instance(); +$rcmail->temp_gc(); +$rcmail->cache_gc(); -- cgit v1.2.3