Commit 894e8fbb authored by mikeytown2's avatar mikeytown2

#1069922: fix rmdir warnings.

parent 19795327
......@@ -1011,7 +1011,11 @@ function _boost_rmdir($dir, $flush = TRUE) {
$objects = scandir($dir);
$empty_dir = TRUE;
foreach ($objects as $object) {
if ($object == "." || $object == ".." || $object == ".htaccess") {
if ($object == "." || $object == "..") {
continue;
}
if ($object == ".htaccess") {
$empty_dir = FALSE;
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