public attr / function, constructeurs __construct
[mtweb] / mw / app / controllers / install / index.php
index 07fb56e..0f7b27c 100644 (file)
@@ -2,16 +2,16 @@
 
   class mw_install_index extends mw_controller{
 
-    var $config_file;
+    public $config_file;
 
-    function validate(){
+    public function validate(){
       $env = $this->env();
       $this->config_file = $env->path("content")."config/config.php";
       if(file_exists($this->config_file)) return "le site est deja installé";
       return true;
     }
 
-    function index(){
+    public function index(){
       $env = $this->env();
       $data = $env->data();
       $admin = array(
     }
 
   }
-
-?>
\ No newline at end of file