Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Check if the path exists to the requested module, also make sure to check if the module exists.
- $path = APPPATH.'modules/'.strtolower($moduleName);
- // Does the folder exist?
- if(!is_dir($path))
- {
- CI::$APP->template->show404();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement