X-Git-Url: http://git.dj3c1t.com/?a=blobdiff_plain;f=mw%2Fapp%2Fdata%2Fmodules%2Fshare%2Fmw_data_out_config.php;fp=mw%2Fapp%2Fdata%2Fmodules%2Fshare%2Fmw_data_out_config.php;h=0000000000000000000000000000000000000000;hb=422d883e3ed8ee55ee41e3b7826f32b79cea646d;hp=d5471cfab7cc7b282e260bc169a5140bae7d43eb;hpb=e1b64e4088232b9d7b4acb2dc24279bb38fcafba;p=mtweb diff --git a/mw/app/data/modules/share/mw_data_out_config.php b/mw/app/data/modules/share/mw_data_out_config.php deleted file mode 100644 index d5471cf..0000000 --- a/mw/app/data/modules/share/mw_data_out_config.php +++ /dev/null @@ -1,28 +0,0 @@ -env(); - $config = array(); - if($env->out_file_exists("config.xml")){ - if($this->buffer = file_get_contents($env->out_file("config.xml"))){ - if(!isset($this->sxml)) $this->sxml = new sxml(); - $this->sxml->parse($this->buffer); - $this->buffer = $this->sxml->data["config"][0]; - if(isset($this->buffer["subs"]) && $this->buffer["subs"]) foreach($this->buffer["subs"] as $key => $value){ - $config[$key] = array( - "type" => $value[0]["attrs"]["type"], - "default" => $value[0]["attrs"]["default"], - "text" => $value[0]["data"] - ); - } - } - else $config = false; - } - return $config; - } - - } - -?> \ No newline at end of file