Skip to content

Commit 384c7b9

Browse files
committed
Add public dir to php-pure
1 parent 0649f38 commit 384c7b9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pure-php/_benchmark/hello_world.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/sh
2-
url="$base/$fw/index.php/hello/index"
2+
url="$base/$fw/public/index.php/hello/index"

pure-php/index.php renamed to pure-php/public/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
$uri = $_SERVER['REQUEST_URI'];
88

9-
$prefix = '/PHP-Frameworks-Bench/pure-php';
9+
$prefix = '/PHP-Frameworks-Bench/pure-php/public';
1010

11-
require_once ('Controllers/HelloWorldController.php');
11+
require_once ('../Controllers/HelloWorldController.php');
1212

1313
// Strip query string (?foo=bar) and decode URI
1414
if (false !== $pos = strpos($uri, '?')) {

0 commit comments

Comments
 (0)