syntaxe POO (visibilité)
[mw_hello] / app / controllers / hello / index.php
index e317fe9..89bb6a3 100644 (file)
@@ -2,9 +2,7 @@
 
   class mw_hello_index extends mw_controller{
 
-    function index(&$env){
+    public function index(){
     }
 
   }
-
-?>
\ No newline at end of file