Community Auth - Call to undefined method |
Hello!
Please help me! When I add the code to the controller: Code: if( $this->require_role('admin') ) Code: Fatal error: Call to undefined method Welcome::require_role() in /home/q/q9273345/q9273345.beget.tech/public_html/app_crm/controllers/Welcome.php on line 35 But under the link http://q9273345.beget.tech/examples/index everything works. Errors do not show.
Your Welcome.php controller needs to extend MY_Controller.
|
Welcome Guest, Not a member yet? Register Sign In |