Welcome Guest, Not a member yet? Register   Sign In
using base_url in errors/error_404.php
#9

[eluser]CroNiX[/eluser]
It's because when something is missing, it triggers the 404 before the rest of CI is loaded (doesn't need to load everything if it's a missing resource which it checks for at the bottom of CodeIgniter.php), so some basic functions aren't available to the error_404().

I'm not sure if setting a '404_override' (see routes) controller fixes that, but it probably does.


Messages In This Thread
using base_url in errors/error_404.php - by El Forum - 05-08-2012, 11:02 PM
using base_url in errors/error_404.php - by El Forum - 05-09-2012, 12:57 AM
using base_url in errors/error_404.php - by El Forum - 05-09-2012, 01:04 AM
using base_url in errors/error_404.php - by El Forum - 05-09-2012, 01:15 AM
using base_url in errors/error_404.php - by El Forum - 05-09-2012, 01:24 AM
using base_url in errors/error_404.php - by El Forum - 05-09-2012, 01:54 AM
using base_url in errors/error_404.php - by El Forum - 05-09-2012, 01:59 AM
using base_url in errors/error_404.php - by El Forum - 05-09-2012, 02:15 AM
using base_url in errors/error_404.php - by El Forum - 05-09-2012, 10:06 AM
using base_url in errors/error_404.php - by El Forum - 05-09-2012, 04:37 PM
using base_url in errors/error_404.php - by El Forum - 05-06-2013, 08:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB