Skip to content

Commit e35f4c8

Browse files
committed
Add note on not using the provided router in production
1 parent eee2e1c commit e35f4c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

router.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

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

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

0 commit comments

Comments
 (0)