$OUT->final_output = str_replace($match['0'], '', $cache); $OUT->display(); log_message('debug', "Cache file is current. Sending it to browser and exiting."); exit; } } } /* |------------------------------------------------ | Does the requested controller exist? |------------------------------------------------ | | If not, we'll show the 404 page | */ if (!file_exists(BASEPATH . 'application/controllers/' . $RTR->fetch_class() . EXT)) { show_404('application/controllers/' . $RTR->fetch_class() . EXT); } /* |------------------------------------------------ | Load the controllers |------------------------------------------------ | | The parent/child controller classes do all | the heavy lifting, so load em' up... | */ require_once BASEPATH . 'libraries/Controller' . EXT; require_once BASEPATH . 'application/controllers/' . $RTR->fetch_class() . EXT; /* |------------------------------------------------
$OUT->final_output = str_replace($match['0'], '', $cache); $OUT->display(); log_message('debug', "Cache file is current. Sending it to browser and exiting."); exit; } } } /* |------------------------------------------------ | Does the requested controller exist? |------------------------------------------------ | | If not, we'll show the 404 page | */ if (!file_exists(APPPATH . 'controllers/' . $RTR->fetch_class() . EXT)) { show_404('controllers/' . $RTR->fetch_class() . EXT); } /* |------------------------------------------------ | Instantiate the Input class and filter globals |------------------------------------------------ */ require_once BASEPATH . 'libraries/Input' . EXT; $IN = new _Input($CFG->item('global_xss_filtering')); /* |------------------------------------------------ | Instantiate the URI class |------------------------------------------------ */ require_once BASEPATH . 'libraries/URI' . EXT;