Skip to content

Commit 5450155

Browse files
authored
Merge pull request #13 from joanhey/public-dir
Add public dir to microframeworks
2 parents e710ff7 + eb6b24a commit 5450155

File tree

24 files changed

+21
-21
lines changed

24 files changed

+21
-21
lines changed

benchmark.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ fastroute-1.3
2222
fatfree-3.8.1
2323
frameworkx-dev
2424
fuelphp-1.9
25-
kumbiaphp-1.1
25+
kumbia-1.1
2626
laminas-2.0
2727
laravel-10.0
2828
leaf-3.3
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"

fastroute-1.3/index.php renamed to fastroute-1.3/public/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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) {
@@ -22,7 +22,7 @@
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';
2626
if ($prefix !== '' && strpos($uri, $prefix) === 0) {
2727
$uri = substr($uri, strlen($prefix));
2828
}
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"

fatfree-3.8.1/index.php renamed to fatfree-3.8.1/public/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
require 'vendor/autoload.php';
3+
require '../vendor/autoload.php';
44

55
$f3 = \Base::instance();
66

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)