diff --git a/install/moveFilesToFolder.php b/install/moveFilesToFolder.php index a5988db491..caa3fc05c4 100644 --- a/install/moveFilesToFolder.php +++ b/install/moveFilesToFolder.php @@ -7,7 +7,9 @@ if (!isCommandLineInterface()) { return die('Command Line only'); } -die('This may bring you problems if you are using S3 or B2 or FTP or YPTstorage, but if you are using only the local storage, you can comment this line and run this script'); +if(isAnyStorageEnabled()){ + die('This may bring you problems if you are using S3 or B2 or FTP or YPTstorage, but if you are sure what you are doing, you can comment this line and run this script'); +} $path = getVideosDir(); $total = Video::getTotalVideos("", false, true, true, false, false);