Skip to content

Commit

Permalink
Add note on not using the provided router in production
Browse files Browse the repository at this point in the history
  • Loading branch information
Minishlink committed Feb 12, 2018
1 parent eee2e1c commit e35f4c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions router.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

// this is just for the easy bootstrapping of the demo
// adapted from http://stackoverflow.com/a/38926070
// DON'T USE IN PRODUCTION, please code your own router or use a framework!

chdir(__DIR__);
$filePath = realpath('./src/'.ltrim($_SERVER["REQUEST_URI"], '/'));
Expand Down

0 comments on commit e35f4c8

Please sign in to comment.