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.
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