Illegal Offset in Route.php |
I am currently trying to make things clean and neat and using the same endpoints for different things such as GET to /login - shows login page but POST to /login starts the login process. Going by the docs you can do this:
PHP Code: $route['login'] = 'auth/login'; BUT this then throws the following error: Quote:A PHP Error was encountered I tried putting ['GET'] against the first line but didn't seem to make any difference. Any help much appreciated. |
Messages In This Thread |
Illegal Offset in Route.php - by purpleprawn - 12-01-2018, 07:16 PM
RE: Illegal Offset in Route.php - by Perhood - 12-03-2018, 05:59 AM
RE: Illegal Offset in Route.php - by purpleprawn - 12-03-2018, 06:34 PM
RE: Illegal Offset in Route.php - by InsiteFX - 12-04-2018, 05:28 AM
RE: Illegal Offset in Route.php - by dave friend - 12-04-2018, 12:37 PM
RE: Illegal Offset in Route.php - by purpleprawn - 02-11-2019, 06:27 AM
|