Closed GoogleCodeExporter closed 9 years ago
Original comment by DJG6...@gmail.com
on 26 Mar 2013 at 4:13
[deleted comment]
ok here is the FIX Tested on opencart 1.5
check this line-> /* FIX@memiiso */ $dom->xinclude();/* FIX@memiiso */
/**
* VQMod::_parseMods()
*
* @return null
* @description Loops through xml files and attempts to load them as VQModObject's
*/
private function _parseMods() {
$dom = new DOMDocument('1.0', 'UTF-8');
foreach($this->_modFileList as $modFileKey => $modFile) {
if(file_exists($modFile)) {
if(@$dom->load($modFile)) {
/* FIX@memiiso */ $dom->xinclude();/* FIX@memiiso */
$mod = $dom->getElementsByTagName('modification')->item(0);
$this->_mods[] = new VQModObject($mod, $modFile, $this);
} else {
$this->log->write('DOM UNABLE TO LOAD: ' . $modFile);
}
} else {
$this->log->write('FILE NOT FOUND: ' . $modFile);
}
}
}
Original comment by ismailxs...@gmail.com
on 26 Mar 2013 at 4:22
Original issue reported on code.google.com by
ismailxs...@gmail.com
on 26 Mar 2013 at 4:01