inside the index.php file there are some ToDos open. Does any of you have an idea what it was about?
// 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';
});
I think the second todo is my fault. Because i stupidly copied and pasted that block from the above one.
Hi @mzaini30 @ImMaax @sanderaido,
inside the index.php file there are some ToDos open. Does any of you have an idea what it was about?
I think the second todo is my fault. Because i stupidly copied and pasted that block from the above one.