Fixed CleanStor.php script so that it works again, it was still set

to work in the old directory structure.
This commit is contained in:
paul.baranowski 2010-11-11 13:22:04 -05:00
parent f7dc117417
commit 3879d1c7d4
2 changed files with 2 additions and 5 deletions

View File

@ -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]){
}
?>
?>

View File

@ -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