New libraries or scripts that should be globally available in the Jedox Macro Engine (ME) must be added to a folder that is readable for the ME.
open_basedir in the file macro_engine_config.xml defines the readable and writeable paths for the ME (see Macro Engine Configuration):
open_basedir = "../httpd/app/base;../httpd/app/lib;tmp"
In ../httpd/app/lib/ we create a new folder named “test”. Now we copy the script that we want to be globally available into that folder. For this example, we call the script test.php.
After running a macro with the statement
the script test.php is globally available in the Macro Engine.