File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 88 * License: GNU/GPLv2
99 * @see LICENSE.txt
1010 *
11- * This file: Front-end handler (last modified: 2020.10.30 ).
11+ * This file: Front-end handler (last modified: 2020.11.20 ).
1212 */
1313
1414namespace phpMussel \FrontEnd ;
@@ -1930,7 +1930,7 @@ private function quarantineRecursiveList(bool $DeleteMode = false): array
19301930 $ List = new \RecursiveIteratorIterator (new \RecursiveDirectoryIterator ($ this ->Loader ->QuarantinePath ), \RecursiveIteratorIterator::SELF_FIRST );
19311931 foreach ($ List as $ Item => $ List ) {
19321932 /** Skips if not a quarantined file. */
1933- if (! preg_match ( ' ~\.qfu$~i ' , $ Item ) || is_dir ($ Item ) || !is_file ($ Item ) || !is_readable ($ Item )) {
1933+ if (strtolower ( substr ( $ Item , - 4 )) !== ' .qfu ' || is_dir ($ Item ) || !is_file ($ Item ) || !is_readable ($ Item )) {
19341934 continue ;
19351935 }
19361936
You can’t perform that action at this time.
0 commit comments