Welcome Guest, Not a member yet? Register   Sign In
Loading custom library
#1

[eluser]mzvasiq[/eluser]
I created a Custom Library and saved it in application/libraries folder. But when i try to load the library from the Controller using the following code.

Code:
$this->load->library('BlogUtilities');

It just doesn't get loaded, so after checking the CodeIgniter's log file I came to know it's giving 'No direct script access allowed'

I don't understand why am i getting this error.

My Library has only two functions in it.


Messages In This Thread
Loading custom library - by El Forum - 10-09-2013, 05:23 AM
Loading custom library - by El Forum - 10-09-2013, 05:31 AM
Loading custom library - by El Forum - 10-09-2013, 05:48 AM
Loading custom library - by El Forum - 10-09-2013, 05:55 AM
Loading custom library - by El Forum - 10-09-2013, 06:09 AM
Loading custom library - by El Forum - 10-09-2013, 06:17 AM
Loading custom library - by El Forum - 10-09-2013, 06:22 AM
Loading custom library - by El Forum - 10-09-2013, 06:29 AM
Loading custom library - by El Forum - 10-09-2013, 06:37 AM
Loading custom library - by El Forum - 10-09-2013, 06:43 AM
Loading custom library - by El Forum - 10-09-2013, 06:44 AM
Loading custom library - by El Forum - 10-09-2013, 06:50 AM
Loading custom library - by El Forum - 10-09-2013, 07:37 AM
Loading custom library - by El Forum - 10-09-2013, 09:06 AM
Loading custom library - by El Forum - 10-09-2013, 10:02 AM
Loading custom library - by El Forum - 10-09-2013, 11:18 AM
Loading custom library - by El Forum - 10-09-2013, 01:22 PM



Theme © iAndrew 2016 - Forum software by © MyBB