Ok so I have 10 pages of PHP functions that I need to include in a current SC project I am working on.
But so far the process has been maddening.
On Application Init I have this
sc_include_library(“prj”,“lib”,“my_functions1.php”, “true”, “true”);
It is the second variable: Library Name that has me mystified. What does one put here to point to what you upload in Internal Libraries->Project ?
This is the error:
require_once(…/_lib/libraries/grp/lib/my_functions1.php): failed to open stream: No such file or directory
I am not sure why it is looking in libraries/grp as when I upload the file it doesnt get placed there…
rather it gets placed in devel/conf/grp/
I have checked the box next the Library so that it is active.
There has to be an easier way.
I dont want to have to go and check the box for all of these files on every application I create.
The videos and documentation on this are contradictory and out of date.
Any pointers?