File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
2- url=" $base /$fw /index.php/hello/index"
2+ url=" $base /$fw /public/ index.php/hello/index"
Original file line number Diff line number Diff line change 33// https://github.com/nikic/FastRoute#usage
44// Here's a basic usage example:
55
6- require __DIR__ .'/vendor/autoload.php ' ;
6+ require __DIR__ .'/../ vendor/autoload.php ' ;
77
88
99$ dispatcher = FastRoute \simpleDispatcher (function (FastRoute \RouteCollector $ r ) {
2222
2323// https://github.com/nikic/FastRoute/issues/110#issuecomment-273760186
2424// Strip prefix
25- $ prefix = '/PHP-Frameworks-Bench/fastroute-1.3 ' ;
25+ $ prefix = '/PHP-Frameworks-Bench/fastroute-1.3/public ' ;
2626if ($ prefix !== '' && strpos ($ uri , $ prefix ) === 0 ) {
2727 $ uri = substr ($ uri , strlen ($ prefix ));
2828}
You can’t perform that action at this time.
0 commit comments