How can i remove subclass_prefix? |
The 'subclass_prefix' is only used when extending a core class and then it MUST be used. There is no getting around it.
Try this: https://markladoux.wordpress.com/2012/12...-modified/
I've modified it when it stopped working with CI 2, but it should still work with CI 3. It doesn't remove the need to extend CI_Controller at some point, nor does it remove the need for a prefix. It does, however, remove the need to use the prefix specified in your configuration on controllers. Just make sure you extend the alternative base controller. |
Welcome Guest, Not a member yet? Register Sign In |