Use different 404 page on front-end and back-end |
(09-28-2015, 06:33 AM)Martin7483 Wrote:(09-28-2015, 06:09 AM)Narf Wrote: Actually, it's quite the opposite ... 404_override may be a single value, but it points at what to look for in the current directory and then naturally falls back to the root one. Indeed it wasn't ... https://github.com/bcit-ci/CodeIgniter/c...f694fa3907 But actually, I also said something that's not entirely true: (09-28-2015, 06:09 AM)Narf Wrote: You can't have different 404 pages if you just call show_404() ... it's obviously the same function no matter what you do. It's the same function, and you can't change the function itself, but you can modify the error template to display something different based on the first URI segment. (09-28-2015, 06:51 AM)Lykos22 Wrote:(09-28-2015, 06:09 AM)Narf Wrote: Actually, it's quite the opposite ... 404_override may be a single value, but it points at what to look for in the current directory and then naturally falls back to the root one. Correct. |
Messages In This Thread |
Use different 404 page on front-end and back-end - by Lykos22 - 09-28-2015, 03:52 AM
RE: Use different 404 page on front-end and back-end - by Martin7483 - 09-28-2015, 04:35 AM
RE: Use different 404 page on front-end and back-end - by Narf - 09-28-2015, 06:09 AM
RE: Use different 404 page on front-end and back-end - by Lykos22 - 09-28-2015, 06:51 AM
RE: Use different 404 page on front-end and back-end - by Narf - 09-28-2015, 07:10 AM
RE: Use different 404 page on front-end and back-end - by Muzikant - 09-28-2015, 04:44 AM
RE: Use different 404 page on front-end and back-end - by Martin7483 - 09-28-2015, 06:33 AM
RE: Use different 404 page on front-end and back-end - by Muzikant - 09-28-2015, 08:34 AM
|