Update for bramus router
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
RewriteEngine on
|
RewriteEngine On
|
||||||
RewriteCond %{SCRIPT_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
RewriteCond %{SCRIPT_FILENAME} !-d
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
RewriteCond %{SCRIPT_FILENAME} !-l
|
RewriteRule . index.php [L]
|
||||||
RewriteRule ^(.*)$ index.php/$1
|
|
||||||
@@ -17,9 +17,8 @@ Below is an example of an working `.htaccess` file used by simple-php-router.
|
|||||||
Simply create a new `.htaccess` file in your projects `public` directory and paste the contents below in your newly created file. This will redirect all requests to your `index.php` file (see Configuration section below).
|
Simply create a new `.htaccess` file in your projects `public` directory and paste the contents below in your newly created file. This will redirect all requests to your `index.php` file (see Configuration section below).
|
||||||
|
|
||||||
```
|
```
|
||||||
RewriteEngine on
|
RewriteEngine On
|
||||||
RewriteCond %{SCRIPT_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
RewriteCond %{SCRIPT_FILENAME} !-d
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
RewriteCond %{SCRIPT_FILENAME} !-l
|
RewriteRule . index.php [L]
|
||||||
RewriteRule ^(.*)$ index.php/$1
|
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user