public attr / function, constructeurs __construct
[mtweb] / mw / app / controllers / config / index.php
index c3ac7a3..87c36c2 100644 (file)
@@ -2,7 +2,7 @@
 
   class mw_config_index extends mw_controller{
 
-    function index(){
+    public function index(){
       $env = $this->env();
       $data = $env->data();
       if(($config = $env->get_CONFIG()) === false){
@@ -30,5 +30,3 @@
     }
 
   }
-
-?>
\ No newline at end of file