public attr / function, constructeurs __construct
[mtweb] / mw / app / controllers / config / templates.php
index 120f90f..edcfed5 100644 (file)
@@ -2,7 +2,7 @@
 
   class mw_config_templates extends mw_controller{
 
-    function index(){
+    public function index(){
       $env = $this->env();
       $data = $env->data();
       if(($templates = $env->templates()) === false){
@@ -33,7 +33,7 @@
       $env->set_out("out_config", $out_config);
     }
 
-    function options(){
+    public function options(){
       $env = $this->env();
       $data = $env->data();
       if(($config = $env->get_CONFIG()) === false){
@@ -61,5 +61,3 @@
     }
 
   }
-
-?>
\ No newline at end of file