Welcome Guest, Not a member yet? Register   Sign In
CommunityAuth and My_Model
#4

(01-12-2018, 07:15 AM)chrismartinez99 Wrote:
(01-11-2018, 11:22 PM)skunkbad Wrote: Community Auth's MY_Model.php currently has:

Properties

  1. $acl
Methods

  1. acl_query
  2. acl_permits
  3. is_role
  4. db_table
Take these properties and methods and put them in your existing MY_Model.php file. That's all you need to do.

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.

Sounds simple enough. Thanks!!

Hi, I'm receiving this error at /examples/create_user:

Code:
A PHP Error was encountered
Severity: Notice
Message: Use of undefined constant LOGIN_PAGE - assumed 'LOGIN_PAGE'
Filename: config/routes.php
Line Number: 56
Backtrace:
File: /Users/chrismartinez/www/www.nfinitepursuit.com/public_html/booking/application/config/routes.php
Line: 56
Function: _error_handler
File: /Users/chrismartinez/www/www.nfinitepursuit.com/public_html/booking/index.php
Line: 314
Function: require_once

Any ideas?
Reply


Messages In This Thread
CommunityAuth and My_Model - by chrismartinez99 - 01-11-2018, 09:12 PM
RE: CommunityAuth and My_Model - by skunkbad - 01-11-2018, 11:22 PM
RE: CommunityAuth and My_Model - by chrismartinez99 - 01-14-2018, 08:49 PM
RE: CommunityAuth and My_Model - by skunkbad - 01-14-2018, 10:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB