projects
/
cl7.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ADD support des inscriptions terminées
[cl7.git]
/
php
/
config.php
diff --git
a/php/config.php
b/php/config.php
index
3ae649f
..
4bcecc3
100644
(file)
--- a/
php/config.php
+++ b/
php/config.php
@@
-5,7
+5,7
@@
class Config
{
$config_req = mysql_query("SELECT nom, valeur FROM config");
while ($val = mysql_fetch_object($config_req))
{
$config_req = mysql_query("SELECT nom, valeur FROM config");
while ($val = mysql_fetch_object($config_req))
- $this->config[$val->nom] = $val->valeur;
+ $this->config[$val->nom] = $val->valeur
== "TRUE" ? TRUE : ($val->valeur == "FALSE" ? FALSE : $val->valeur)
;
}
function get($nom)
}
function get($nom)