Skip to content

Commit 9f3ad2d

Browse files
authored
Update README.md
1 parent f4971e4 commit 9f3ad2d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
> Simple, direct and efficient router created with just PHP and .htaccess.
33
44
## How
5-
All requests are redirected to `index.php` with the help of the `.htaccess`.
6-
The `model/moder.router.php` will then render the current view based on the first value of an array created from
7-
`$_SERVER["QUERY_STRING"]` and it will render the current view if it is available inside the `view\*.php` folder.
5+
All requests are redirected to `index.php` with the help of the `.htaccess`.<br>
6+
The `model/moder.router.php` will then create an array based on `$_SERVER["QUERY_STRING"]`.<br>
7+
It will render the current view(based on the first value of the array) and if it is not available inside the `view\*.php` folder, `view\404.php` will be rendered instead.
88

99
## Troubleshooting
10-
Should something went wrong, please check if the included `.htaccess` file actually exists and `mod_rewrite` is available.
10+
Should something went wrong, please check if the included `.htaccess` file actually exists and `mod_rewrite` is available.<br>
1111
The `.htaccess` should also be updated accordingly if you are not using `apache` and using other webservers such as `nginx`.
1212

1313
## Requirements

0 commit comments

Comments
 (0)