X-Git-Url: http://git.dj3c1t.com/?a=blobdiff_plain;f=mw%2Fenv%2Fmodules%2Fmw_env_init.php;fp=web%2Fapp%2Fenv%2Fmodules%2Fmw_env_init.php;h=381351153e1981153036e6056df011261c59530b;hb=36ed114046cbe3d72a3589230e9f306a54fcc79d;hp=6a555fa8f28bb62f67ca0bb1d2c6c6109a8aa357;hpb=281c96e95451269f2614684b8de5be25862c8374;p=mtweb diff --git a/web/app/env/modules/mw_env_init.php b/mw/env/modules/mw_env_init.php similarity index 92% rename from web/app/env/modules/mw_env_init.php rename to mw/env/modules/mw_env_init.php index 6a555fa..3813511 100644 --- a/web/app/env/modules/mw_env_init.php +++ b/mw/env/modules/mw_env_init.php @@ -6,7 +6,7 @@ $init_files = array(); if(($plugins = $this->plugins()) !== false){ foreach($plugins as $plugin_name => $plugin){ - $init_path = $this->path("plugins").$plugin_name."/app/init/"; + $init_path = $this->path("mw_dir")."plugins/".$plugin_name."/app/init/"; if( $plugin["installed"] && $plugin["enabled"] @@ -29,7 +29,7 @@ } if($this->check_stop()) return; } - $init_path = $this->path("app")."init/"; + $init_path = $this->path("mw_dir")."app/init/"; if( file_exists($init_path) && is_dir($init_path)