Welcome Guest, Not a member yet? Register   Sign In
What's the difference in library folders?
#5

[eluser]theprodigy[/eluser]
Quote:Ok, but when I put my own library (“captions.php”) into the app/libraries folder and then added its name to the autoload.php file, it wasn’t ever loaded. It only worked when I added my file to the system/libraries folder.

Thoughts on why this happened?
Is your class name the same as your file name?
Code:
//filename captions.php
class Captions {
// [code goes here]
}
And when you tried to access it, did you use:
Code:
$this->captions->function_name():


Messages In This Thread
What's the difference in library folders? - by El Forum - 02-07-2010, 01:09 PM
What's the difference in library folders? - by El Forum - 02-07-2010, 02:48 PM
What's the difference in library folders? - by El Forum - 02-07-2010, 03:20 PM
What's the difference in library folders? - by El Forum - 02-07-2010, 05:07 PM
What's the difference in library folders? - by El Forum - 02-08-2010, 12:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB