From 8e5fb1157acc4b003669e9d2ecc62422f470f6ce Mon Sep 17 00:00:00 2001 From: SteamPixel Date: Fri, 10 Jan 2020 23:13:53 +0100 Subject: [PATCH] Added php info route --- index.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/index.php b/index.php index 83f8a79..0e954f2 100644 --- a/index.php +++ b/index.php @@ -1,4 +1,5 @@ contact form
  • get+post example
  • test.html
  • +
  • PHP Info
  • aTrailingSlashDoesNotMatter
  • aTrailingSlashDoesNotMatter/
  • theCaseDoesNotMatter
  • @@ -43,6 +45,14 @@ Route::add('/test.html', function() { echo 'Hello from test.html'; }); +// This route is for debugging only +// It simply prints out some php infos +// Do not use this route on production systems! +Route::add('/phpinfo', function() { + navi(); + phpinfo(); +}); + // Post route example Route::add('/contact-form', function() { navi();