Hi,

Yes indeed you are correct.
Found out that framework was loading libraries from array in specific order, whereby one overrules the next one.


Anyway, problem solved by rearranging the order of the array :)

Thanks anyway :)

On 03/30/2011 04:13 PM, Ashley Sheridan wrote:
"Aleksandar Skodric"<aleksan...@skodric.com>  wrote:

Hi all,

I am using Codeigniter framework, tho' I believe my question is more
PHP
related in general.

Problem I am having is following.

Codeigniter (CI) uses general class CI_Controller for all functions.
I have extended this controller with: abstract class CORE_Controller
extends CI_Controller {...}.

Then, I also have a RESTFul library which is:
class Cpin2_rest {}

And, last one is Ion Auth library which states:
class Ion_auth {}

In the Ion auth, there (should be) is initialization of CI_Controller
with:

$this->ci =&  get_instance();

However, $this->ci inherits Cpin2_rest instead of CI_Controller (or
CORE_Controller).

I really have no idea where have I made a mistake and can't get around
this one :(

Any help is appreciated!

Thanks!
Aleks

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

That's completely CodeIgniter, not php. The mvc framework layout is something 
used by many languages, but questions about the framework aren't questions you 
should ask of the language but the framework.


Thanks
Ash

--
With kind regards,

Aleksandar Skodric
aleksan...@skodric.com
+31652612685


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to