Lansoweb / basepath

PHP middleware to remove a path prefix from a request uri
MIT License
14 stars 4 forks source link

Added instruction for dynamic base paths. #5

Closed halfpastfouram closed 6 years ago

halfpastfouram commented 6 years ago

It might be useful to add an instruction for using dynamic base paths. It depends on the root directory the project/application is in and has a failsave.

I am currently using this for my zend-expression app that is being tested on a deployment server and can be deployed to a location with a dynamic base path via CI without having to change the config/autoload/los-basepath.global.php file.

Lansoweb commented 6 years ago

Thanks!