Skip to content

Commit c51b215

Browse files
committed
Add public dir to leaf
1 parent 4e0042b commit c51b215

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

leaf-3.3/_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"

leaf-3.3/index.php renamed to leaf-3.3/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
app()->get("/index.php/hello/index", 'Controllers\HelloWorldController@index');
66

0 commit comments

Comments
 (0)