Problem with kernel classes in an external php script

Problem with kernel classes in an external php script

Thursday 12 February 2009 6:00:00 am - 1 reply

Author Message

André R.

Thursday 12 February 2009 8:04:07 am

ezpublish 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

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.