Corrected some wired PHP comments
This commit is contained in:
parent
7fbe414965
commit
6994d6c93e
14
index.php
14
index.php
|
@ -50,19 +50,17 @@ Route::add('/index.php', function() {
|
|||
});
|
||||
|
||||
// Simple test route that simulates static html file
|
||||
// TODO: Fix this for some web servers
|
||||
Route::add('/blog/([a-z-0-9-]*)', function($slug) {
|
||||
navi();
|
||||
include('include-example.php');
|
||||
});
|
||||
|
||||
// This example shows how to include files and how to push data to them
|
||||
// TODO: Fix this for some web servers
|
||||
Route::add('/test.html', function() {
|
||||
navi();
|
||||
echo 'Hello from test.html';
|
||||
});
|
||||
|
||||
// This example shows how to include files and how to push data to them
|
||||
Route::add('/blog/([a-z-0-9-]*)', function($slug) {
|
||||
navi();
|
||||
include('include-example.php');
|
||||
});
|
||||
|
||||
// This route is for debugging only
|
||||
// It simply prints out some php infos
|
||||
// Do not use this route on production systems!
|
||||
|
|
Loading…
Reference in New Issue
Block a user