$this->xml_parser = new sxml();
$app_config_file = $this->path("mw_dir")."app/config.xml";
if(file_exists($app_config_file)){
$this->xml_parser = new sxml();
$app_config_file = $this->path("mw_dir")."app/config.xml";
if(file_exists($app_config_file)){
$this->xml_parser->parse(file_get_contents($app_config_file));
$app_config = $this->xml_parser->data["config"][0];
if(isset($app_config["subs"]["version"][0]["data"])){
$this->xml_parser->parse(file_get_contents($app_config_file));
$app_config = $this->xml_parser->data["config"][0];
if(isset($app_config["subs"]["version"][0]["data"])){
$app_config_file = $this->path("mw_dir")."plugins/".$plugin_name."/app/config.xml";
if(file_exists($app_config_file)){
$this->_load_version($plugin_name, $app_config_file);
$app_config_file = $this->path("mw_dir")."plugins/".$plugin_name."/app/config.xml";
if(file_exists($app_config_file)){
$this->_load_version($plugin_name, $app_config_file);