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:
parent
f7dc117417
commit
3879d1c7d4
|
@ -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]){
|
|||
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue