We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c51b215 commit 0649f38Copy full SHA for 0649f38
phroute-2.2/_benchmark/hello_world.sh
@@ -1,2 +1,2 @@
1
#!/bin/sh
2
-url="$base/$fw/index.php/hello/index"
+url="$base/$fw/public/index.php/hello/index"
phroute-2.2/index.php renamed to phroute-2.2/public/index.php
@@ -1,6 +1,6 @@
<?php
3
-require __DIR__.'/vendor/autoload.php';
+require __DIR__.'/../vendor/autoload.php';
4
5
use Phroute\Phroute\RouteCollector;
6
@@ -14,7 +14,7 @@
14
// just same as fastroute:
15
// https://github.com/nikic/FastRoute/issues/110#issuecomment-273760186
16
// Strip prefix
17
-$prefix = '/PHP-Frameworks-Bench/phroute-2.2';
+$prefix = '/PHP-Frameworks-Bench/phroute-2.2/public';
18
if ($prefix !== '' && strpos($uri, $prefix) === 0) {
19
$uri = substr($uri, strlen($prefix));
20
}
0 commit comments