Closed ywarnier closed 10 years ago
The notPath() filter doesn't seem to work and, as a consequence, I cannot avoid the deletion of index.html. Apparently, although I haven't used the ignoreDotFiles() modifier, .htaccess survives the operation. Leaving open for now, until we found a solution to keep index.html
I tested this : In getTempFiles() after lines (441) $finder->in($sysPath.'archive/') and (445) $finder->in($sysPath.'data/temp/'); add this $finder->files()->notName('index.*'); Tested and works.
Commited in your name, thanks!
There is apparently a mistake in the clean_temp_folder command, as it also removes the entire archive/ directory (while it should really maintain the .htaccess and index.php file there), at least in version 1.9.*
This is a bug (and a bad one) because it can prevent the portal from working