From 6994d6c93eea8edf8a9582646684c016c3161f5a Mon Sep 17 00:00:00 2001 From: SteamPixel Date: Thu, 24 Sep 2020 08:54:38 +0200 Subject: [PATCH] Corrected some wired PHP comments --- index.php | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/index.php b/index.php index 3209fe5..25219ce 100644 --- a/index.php +++ b/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!