From 3879d1c7d40b0146e445bcce0d641b0304f8490c Mon Sep 17 00:00:00 2001 From: "paul.baranowski" Date: Thu, 11 Nov 2010 13:22:04 -0500 Subject: [PATCH] Fixed CleanStor.php script so that it works again, it was still set to work in the old directory structure. --- {backend => utils}/CleanStor.php | 4 ++-- utils/CleanStor.sh | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) rename {backend => utils}/CleanStor.php (98%) diff --git a/backend/CleanStor.php b/utils/CleanStor.php similarity index 98% rename from backend/CleanStor.php rename to utils/CleanStor.php index 7146a5642..7099944a8 100644 --- a/backend/CleanStor.php +++ b/utils/CleanStor.php @@ -12,7 +12,7 @@ if (isset($arr["DOCUMENT_ROOT"]) && ($arr["DOCUMENT_ROOT"] != "") ) { require_once('../conf.php'); require_once('DB.php'); require_once('../install/installInit.php'); -require_once ('StoredFile.php'); +require_once('../backend/StoredFile.php'); function printUsage() { @@ -118,4 +118,4 @@ switch($argv[1]){ } -?> \ No newline at end of file +?> diff --git a/utils/CleanStor.sh b/utils/CleanStor.sh index 3103b06ae..5a5ac5bd8 100755 --- a/utils/CleanStor.sh +++ b/utils/CleanStor.sh @@ -23,7 +23,4 @@ #------------------------------------------------------------------------------- # This script cleans audio files in the Campcaster storageServer. -reldir=`dirname $0`/.. -cd $reldir/var - php -q CleanStor.php "$@" || exit 1