Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Unconditional modifications to CMSimple_XH are bad #6
In a few cases we have to modify CMSimple_XH to be able to work with the limitations of PHP's built-in webserver. Currently, only XH_isAccessProtected is affected, but other changes might be required in future CMSimple_XH versions.
These modification should never be unconditionally, since users might prepare a website on Portable_XH and later upload the website to a public server, in which case the access protection check would yield potentially wrong results. Instead it should be checked whether the