* Added db global variables to php xml
* Typo squish some namespace typos