kartikk221 / live-directory

A Simple-To-Use Dynamic Template Content Manager For Webservers
MIT License
12 stars 5 forks source link

Switching access check from write permission to read permission #6

Closed moufmouf closed 1 year ago

moufmouf commented 1 year ago

Live-directory needs to be able to read the files, but does not need to write them. So when checking for access in the is_accessible_path function, we should check if the files are readable, not writable.