Commit dbab7b9a authored by mikeytown2's avatar mikeytown2

#1070232: fix .htaccess deletion on cache clear.

parent 58925c8d
......@@ -1003,12 +1003,15 @@ function _boost_rmdir($dir, $flush = TRUE) {
$lifetimes[$values['extension']] = $values['lifetime_max'];
}
}
// Be sure to recreate the htaccess file just in case.
boost_form_submit_handler();
}
$objects = scandir($dir);
$empty_dir = TRUE;
foreach ($objects as $object) {
if ($object == "." || $object == "..") {
if ($object == "." || $object == ".." || $object == ".htaccess") {
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment