X-Git-Url: http://git.dj3c1t.com/?a=blobdiff_plain;f=mw%2Fapp%2Fcontrollers%2Fconfig%2Ftemplates.php;h=edcfed510a371ba1feec2f079743b0fa02ad1fd8;hb=ad9756b0b72852c82165e824570f21b039fcb359;hp=120f90f5bde50a94ee44e86730ef02aca78d0a3a;hpb=422d883e3ed8ee55ee41e3b7826f32b79cea646d;p=mtweb diff --git a/mw/app/controllers/config/templates.php b/mw/app/controllers/config/templates.php index 120f90f..edcfed5 100644 --- a/mw/app/controllers/config/templates.php +++ b/mw/app/controllers/config/templates.php @@ -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