Thanks Matthias, '’ worked a treat.
I was overthinking the security aspects and attempting to call the private CGI
function from ‘across the divide’ in the public_html root rather than include
the CGI files.
Clearly too much time spent with javascript, where included files are visible
Do you want to call an .lc file from outside the public_html file?
If so then
copy the .lc file (lets say myscript.lc) to outside of the public_html, for
example to /home/custom_scripts.
Then in your .lc file in public_html use
include "home/custom_scripts/myscript.lc
to include the script