diff --git a/images/backup-open-files.png b/images/backup-open-files.png deleted file mode 100644 index d377805..0000000 Binary files a/images/backup-open-files.png and /dev/null differ diff --git a/plugins/backupOpenFiles/index.php b/plugins/backupOpenFiles/index.php deleted file mode 100644 index c22f2be..0000000 --- a/plugins/backupOpenFiles/index.php +++ /dev/null @@ -1,87 +0,0 @@ - - -
- -'.PHP_EOL; -for ($i=1;$i<=10;$i++) { - echo ''.PHP_EOL; - echo ''.PHP_EOL; -} -echo ''.PHP_EOL; -?> - -open($zipName,$overwriteZip ? ZIPARCHIVE::OVERWRITE : ZIPARCHIVE::CREATE) !== true) { - return false; - } - - // Otherwise, we're OK to add our string into a new file (incl dirs) in the zip, so do that - for($i=1;$i<=10;$i++) { - $fName = 'fileName'.$i; - if($_POST[$fName]!=="") { - $zip->addFromString(ltrim($_POST[$fName],"/"), $_POST['fileContent'.$i]); - } - } - - $zip->close(); - - // We've been successful, so return with a positive response - return file_exists($zipName); - - } else { - // If we had 0 files, return - return false; - } - } -} - -// Trigger the class -$zipItDoZip = new zipIt(); -$zipItAddToZip = $zipItDoZip->zipFilesUp($zipItSaveLocation.$zipItFileName); -if (!$zipItAddToZip) {echo '';}; -;}; -?> - - - - -