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
/
data
/
modules
/
share
/
mw_data_config.php
diff --git
a/mw/app/data/modules/share/mw_data_config.php
b/mw/app/data/modules/share/mw_data_config.php
index
2a8ae51
..
219feb6
100644
(file)
--- a/
mw/app/data/modules/share/mw_data_config.php
+++ b/
mw/app/data/modules/share/mw_data_config.php
@@
-2,7
+2,7
@@
class mw_data_config extends mw_data{
class mw_data_config extends mw_data{
- function config($key = null){
+
public
function config($key = null){
$value = false;
if(isset($key)){
$value = "";
$value = false;
if(isset($key)){
$value = "";
@@
-36,7
+36,7
@@
return $value;
}
return $value;
}
- function config_exists($key){
+
public
function config_exists($key){
if(
(
$config = $this->data_read(
if(
(
$config = $this->data_read(
@@
-51,7
+51,7
@@
return $config ? 1 : 0;
}
return $config ? 1 : 0;
}
- function set_config($key, $value){
+
public
function set_config($key, $value){
if(
(
$config = $this->data_read(
if(
(
$config = $this->data_read(
@@
-88,7
+88,7
@@
}
}
}
}
- function del_config($key){
+
public
function del_config($key){
return $this->data_delete(
array(
"table_name" => "config",
return $this->data_delete(
array(
"table_name" => "config",
@@
-99,5
+99,3
@@
}
}
}
}
-
-?>
\ No newline at end of file