simplify php method checkDirectoryAccess()
simplify php method checkDirectoryAccess()

othmar52/slimpd,killhellokitty/slimpd,othmar52/slimpd,killhellokitty/slimpd,killhellokitty/slimpd,othmar52/slimpd,othmar52/slimpd,othmar52/slimpd,othmar52/slimpd,killhellokitty/slimpd,othmar52/slimpd,killhellokitty/slimpd