Corrected some wired PHP comments

This commit is contained in:
SteamPixel 2020-09-24 08:54:38 +02:00
parent 7fbe414965
commit 6994d6c93e

View File

@ -50,19 +50,17 @@ Route::add('/index.php', function() {
}); });
// Simple test route that simulates static html file // 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() { Route::add('/test.html', function() {
navi(); navi();
echo 'Hello from test.html'; 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 // This route is for debugging only
// It simply prints out some php infos // It simply prints out some php infos
// Do not use this route on production systems! // Do not use this route on production systems!