From: Michael J Rubinsky Date: Fri, 31 Dec 2010 15:25:39 +0000 (-0500) Subject: fix path X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=5d4d0af507932507782fec1323ddb901ece32f38;p=horde.git fix path --- diff --git a/ansel/scripts/ansel.php b/ansel/scripts/ansel.php index 0ff124503..26a9201be 100755 --- a/ansel/scripts/ansel.php +++ b/ansel/scripts/ansel.php @@ -9,7 +9,7 @@ * @author Vijay Mahrra */ -require_once dirname(__FILE__) . '/../../lib/Application.php'; +require_once dirname(__FILE__) . '/../lib/Application.php'; Horde_Registry::appInit('ansel', array('authentication' => 'none', 'cli' => true)); // We accept the user name on the command-line. diff --git a/ansel/scripts/garbage_collection.php b/ansel/scripts/garbage_collection.php index 0d9ba6650..b93dd3e26 100755 --- a/ansel/scripts/garbage_collection.php +++ b/ansel/scripts/garbage_collection.php @@ -9,7 +9,7 @@ * directory. */ -require_once dirname(__FILE__) . '/../../lib/Application.php'; +require_once dirname(__FILE__) . '/../lib/Application.php'; Horde_Registry::appInit('ansel', array('authentication' => 'none', 'cli' => true)); // Default arguments. @@ -39,7 +39,6 @@ foreach ($opts as $opt) { $vfs = $GLOBALS['injector']->getInstance('Horde_Core_Factory_Vfs')->create(); $vfspath = '.horde/ansel/'; $garbagepath = $vfspath . 'garbage/'; - $hash = $vfs->listFolder($vfspath, null, false, true); sort($hash);