reorganisation init
[mtweb] / mw / env / modules / mw_env_init.php
index 0fd19b8..773d547 100644 (file)
@@ -2,7 +2,8 @@
 
   class mw_env_init extends mw_env{
 
-    function init(){
+    public function init(){
+      $data = $this->data();
       $init_files = array();
       if(($plugins = $this->plugins()) !== false){
         foreach($plugins as $plugin_name => $plugin){
@@ -59,5 +60,3 @@
     }
 
   }
-
-?>
\ No newline at end of file