CommunityAuth and My_Model |
I'm interested in using CommunityAuth, but am trying to figure out how it will integrate with MY_Model (https://github.com/avenirer/CodeIgniter-MY_Model) since CommunityAuth has a similarly named file in the same directory.
Has anyone used both add-ins? IF so, how? Thank you.
Community Auth's MY_Model.php currently has:
Properties
Also note, if you're not going to use CodeIgniter's ACL feature, you wouldn't need the $acl property and the first two methods.
(01-11-2018, 11:22 PM)skunkbad Wrote: Community Auth's MY_Model.php currently has: Sounds simple enough. Thanks!!
(01-12-2018, 07:15 AM)chrismartinez99 Wrote:(01-11-2018, 11:22 PM)skunkbad Wrote: Community Auth's MY_Model.php currently has: Hi, I'm receiving this error at /examples/create_user: Code: A PHP Error was encountered Any ideas?
Got that fixed, but now I get this error:
Message: Call to undefined method Examples::is_logged_in() Filename: /Users/chrismartinez/www/www.nfinitepursuit.com/public_html/booking/application/controllers/Examples.php Line Number: 201
Read: https://forum.codeigniter.com/thread-693..._logged_in
Examples controller extends MY_Controller, which should extend Auth_Controller. If this isn't the case, then you need to fix that. So if you already had a MY_Controller, you need to have it extend Auth_Controller. See the MY_Controller that ships with Community Auth for the details.
|
Welcome Guest, Not a member yet? Register Sign In |