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 2bf677b commit 5b3c070Copy full SHA for 5b3c070
siler-0.6/index.php
@@ -1,9 +1,7 @@
1
<?php
2
3
-require 'vendor/autoload.php';
+require __DIR__.'/vendor/autoload.php';
4
5
-Siler\Route\get('/hello/index', function () {
6
- echo 'Hello World!';
7
-});
+Siler\Route\get('/hello/index', './pages/hello.php');
8
9
require $_SERVER['DOCUMENT_ROOT'].'/php-framework-benchmark/libs/output_data.php';
siler-0.6/pages/hello.php
@@ -0,0 +1,3 @@
+<?php
+
+echo 'Hello World';
0 commit comments