projects
/
mtweb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
implementations sgbd dans env/sgbd
[mtweb]
/
mw
/
app
/
controllers
/
config
/
templates.php
diff --git
a/mw/app/controllers/config/templates.php
b/mw/app/controllers/config/templates.php
index
120f90f
..
edcfed5
100644
(file)
--- 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{
class mw_config_templates extends mw_controller{
- function index(){
+
public
function index(){
$env = $this->env();
$data = $env->data();
if(($templates = $env->templates()) === false){
$env = $this->env();
$data = $env->data();
if(($templates = $env->templates()) === false){
@@
-33,7
+33,7
@@
$env->set_out("out_config", $out_config);
}
$env->set_out("out_config", $out_config);
}
- function options(){
+
public
function options(){
$env = $this->env();
$data = $env->data();
if(($config = $env->get_CONFIG()) === false){
$env = $this->env();
$data = $env->data();
if(($config = $env->get_CONFIG()) === false){
@@
-61,5
+61,3
@@
}
}
}
}
-
-?>
\ No newline at end of file