코드이그나이터 show_404 에러 오버라이딩
// Override show_404 method function show_404(){ // Load Router and Core classes. $RTR =& load_class('Router', 'core'); // Get class and method for 404 from routes.php $x = explode('/', $RTR->routes['404_override']); $class = $x[0]; $method = (isset($x[1]) ? $x[1] : 'index'); // Get current class and method for callback $callback_class = $RTR->fetch_class(); $callback_method = $RTR->fetch_method..
웹개발/Php
2015. 5. 16. 07:39