X-Git-Url: http://git.dj3c1t.com/index.cgi?p=mtweb;a=blobdiff_plain;f=mw%2Fenv%2Fsgbd%2Fmw_xml.php;fp=mw%2Fapp%2Fdata%2Fimpl%2Fmw_xml.php;h=e134becedb4664f5c13d7ce874a4b51f7fa7ee13;hp=67f244743996a50ef391d81b345fded08684be3d;hb=ad9756b0b72852c82165e824570f21b039fcb359;hpb=8da84cf3aa4d10d91f19b6df06ce4c5e9fcb79da diff --git a/mw/app/data/impl/mw_xml.php b/mw/env/sgbd/mw_xml.php similarity index 92% rename from mw/app/data/impl/mw_xml.php rename to mw/env/sgbd/mw_xml.php index 67f2447..e134bec 100644 --- a/mw/app/data/impl/mw_xml.php +++ b/mw/env/sgbd/mw_xml.php @@ -36,14 +36,16 @@ } public function validate_extention(){ + $mw_xml_data_file = $this->env->path("mw_dir")."env/sgbd/xml/mw_xml_data.php"; + $mw_xml_data_handler_file = $this->env->path("mw_dir")."env/sgbd/xml/mw_xml_data_handler.php"; if( - !file_exists($this->env->app_file("data/impl/xml/mw_xml_data.php")) - || !file_exists($this->env->app_file("data/impl/xml/mw_xml_data_handler.php")) + !file_exists($mw_xml_data_file) + || !file_exists($mw_xml_data_handler_file) ){ return false; } - if(!class_exists("mw_xml_data")) require_once $this->env->app_file("data/impl/xml/mw_xml_data.php"); - if(!class_exists("mw_xml_data_handler")) require_once $this->env->app_file("data/impl/xml/mw_xml_data_handler.php"); + if(!class_exists("mw_xml_data")) require_once $mw_xml_data_file; + if(!class_exists("mw_xml_data_handler")) require_once $mw_xml_data_handler_file; if( !class_exists("mw_xml_data") || !class_exists("mw_xml_data_handler")