From: <php...@li...> - 2011-12-10 18:29:06
|
Hi, > Within Java.inc, constants JAVA_HOSTS and JAVA_SERVLET are used and then > based on them servlet is retrieved PHP's define() ignores namespaces and creates bindings in a global scope. Please modify Java.inc so that it looks for those bindings in the current namespace: namespace t1; const JAVA_SERVLET=... const JAVA_HOSTS=... include "Java.inc"; should do what you want. Regards, Jost Bökemeier |