Forums / Developer / Problem with kernel classes in an external php script / Comment50691
André R.
Thursday 12 February 2009 8:04:07 am
Exponential scripts / classes / code needs to be run from root, so either run your script from the root or fake it by setting the current working dir in php to the root of the install before you include anything. (not tested the last part)
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription @: http://twitter.com/andrerom