redaxo/redaxo — comment on commit 68dbff312c2b869067dc37260c30ebe79406f499
File:  line 0
By gharlan:

Do you mean ```is_dir($dir)``` or ```is_dir($dir .'/.')```?
The first variant did not have the same effect, it would also return ```true``` if the directory does not have the +x permission.
I think the second variant would be ok, but there is no advantage.