Monday 28 June 2010 12:16:37 pm
I have a custom script that begins the same way that ezcache.php does. First is the require 'autoload.php' command followed by the eZCLI::instance(), eZScript::instance(), and others. Most of the functions work just fine, including the eZDB::instace which comes later. Unfortunately, when I try access some kernel code, namely eZContentFunctions.php. I keep getting an error saying that this is unavailable. I have also tried placing this file in a require statement along with autoload.php. Nothing works. How do include all the system files into a script in order to use kernel code? thanks, -erik
|