You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+1-3
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,7 @@ I dont even know why I did this. I dont use php for such things. But I felt like
10
10
---
11
11
### Usage of the api
12
12
13
-
To use the router system, you need a `routes` folder in your root directory. Then you can make in you `index.php`
14
-
15
-
a new `Router` object.
13
+
To use the router system, you need a `routes` folder in your root directory. Then you can put in your `index.php` a new `Router` object.
16
14
Call `handle_request()` to validate, parse and render the incoming request. This will create the full site that you can receive with `get_page()` and `echo` it out.
17
15
18
16
Routes are defined by Folders instead of files. That gives us a more reliable structure.
0 commit comments