appConfig

Backstring appConfig( string $query, DOMNode $context, string $configFile)
Utility function to aquire data from the config files. Will return the text content of the node selected with the xpath query;

Remarks:
- If no other file is given as parameter, config.xml will be used as default
- Before use this function set up the application name using the name directive
- Given query needs to be like /nodeName1/nodeName2/.... as this will be automaticaly prepended by //config/appName



Configuration file structure