Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Call With $this->load->library #1

Open
jincongho opened this issue Jun 7, 2013 · 1 comment
Open

Invalid Call With $this->load->library #1

jincongho opened this issue Jun 7, 2013 · 1 comment

Comments

@jincongho
Copy link

In application / controllers / auth.php > line 24 :

$this->load->library('Opauth/Opauth', $this->config->item('opauth_config'), false);

The param "false" which intended to stop opauth to run automatically failed because codeigniter loader only allowed to pass param to library through second param; third param was to define the classname.

http://ellislab.com/codeigniter/user-guide/general/creating_libraries.html

@alexandrejmuniz
Copy link

you could solve the problem with the loader ? remove the third parameter does not solve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants