Flight PHP Routing from Subdirectory
问题 So I'm using the Flight PHP microframework (http://flightphp.com/) to do routing. My question is, how can I run the router from within a subdirectory? What I mean is, essentially, run it 'sandboxed' within a folder. As in, a request to '/' just pulls the regular index.php file. But a request to '/flight/file' would load the URL using Flight. I know you can't just dump it in a folder on the server and expect it to work because FlightPHP expects the URLs relative to the root. Is there a way to