Loader::library() ignoring local files?

Permalink
I have a file in the libraries directory:

/libraries/my_library.php

Why does

Loader::library("my_library");

fail?
The error message complains it can't find the file in /concrete/libraries. I don't want to have to put it there. Why is the Loader not searching in the correct directory?

The files get definitely uploaded there, and have the correct access rights.

pekka
 
jero replied on at Permalink Best Answer Reply
jero
Have you turned off the cache and/or cleared the overrides cache? If you've added the file while the overrides cache is on, it won't get found.
pekka replied on at Permalink Reply
pekka
Turning off the overrides cache did it.
Thanks!