Welcome Guest, Not a member yet? Register   Sign In
Can't call a function defined in library folder
#4

[eluser]CroNiX[/eluser]
Are you manually loading Tank_auth somewhere? CI will only automatically load class extensions that start with the MY_ prefix. You probably need to create an __autoload() magic method to do this.

See here.

Also, is the group_id '500' a string or an int? If it's an int your check in is_groups() will always return false because you are using === which also checks the datatype.


Messages In This Thread
Can't call a function defined in library folder - by El Forum - 02-08-2012, 02:03 PM
Can't call a function defined in library folder - by El Forum - 02-08-2012, 02:31 PM
Can't call a function defined in library folder - by El Forum - 02-09-2012, 07:44 AM
Can't call a function defined in library folder - by El Forum - 02-09-2012, 10:24 AM
Can't call a function defined in library folder - by El Forum - 02-09-2012, 12:18 PM
Can't call a function defined in library folder - by El Forum - 02-09-2012, 12:31 PM
Can't call a function defined in library folder - by El Forum - 02-09-2012, 12:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB