示例#1
0
 function __construct($step = null)
 {
     parent::__construct($step);
     $name = $this->_step->_getStepName();
     if (!empty($this->_step->xmlpath)) {
         // Find xml file from jUpgrade
         $default_xmlfile = JPATH_PLUGINS . "/jupgradepro/{$this->_step->xmlpath}";
         if (file_exists($default_xmlfile)) {
             $this->xml = simplexml_load_file($default_xmlfile);
         }
     }
 }