-
-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Override base path #691
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello
I use a library to manage all application route (in my case https://github.com/nikic/FastRoute)
I've configured my index to load restler part from a specific path. (https://domain.tl/api/)
In this case Restler can't run correctly as a Restler::getPath() exploit $_SERVER['SCRIPT_NAME'] to detect base path. In this case base is set to / and not /api/
Could be nice to provide a configuration/default value to override this base. Maybe I've missed an option to manage this use case.
I've tried with V5
The text was updated successfully, but these errors were encountered: