There's a bug when I try to customized error page, an 404 page |
how about to set 404_override on your common.php show_404 function
if there's not 404_override set on config/route, so it will return your default error page, BUT... if we set 404_override to our custom error page, its will direct into our page. maybe, on show_404 function we can set a condition like that. ``` function show_404(){ if($route['404_override']==""){ //return your code of show_404 before; }else{ return $route["404_override"] } } ``` so, we can easily use 404 function after set customize page on config/route. hopefully be considered |
Messages In This Thread |
There's a bug when I try to customized error page, an 404 page - by rikimahendra - 11-25-2019, 07:38 PM
RE: There's a bug when I try to customized error page, an 404 page - by rikimahendra - 12-03-2019, 08:40 PM
|