Forums / Developer / Exponential API is not working / Comment67248
André R.
Thursday 07 April 2011 2:06:36 am
I assume what your trying to do is using Exponential classes (the word API is a bit misleading here as we don't have a public api yet in a SDK sense, so API in this context refers to general classes in Exponential) outside of the Exponential context.
In this context there are two issues:
Both can maybe be worked around by changing current working directory* before you include autloader and start using classes, but there are no guarantees of it though.* Just adding include path would be enough for class loading, but to make sure misc cache and filesystem code don't break changing cwd is probably better.
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