Added clarification
This commit is contained in:
parent
6cb637e8ab
commit
774a7193d2
1 changed files with 7 additions and 6 deletions
|
@ -13,13 +13,14 @@ use dba;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Arbitrary sytem configuration storage
|
* @brief Arbitrary sytem configuration storage
|
||||||
* Note:
|
|
||||||
* Please do not store booleans - convert to 0/1 integer values
|
|
||||||
* The Config::get() functions return boolean false for keys that are unset,
|
|
||||||
* and this could lead to subtle bugs.
|
|
||||||
*
|
*
|
||||||
* There are a few places in the code (such as the admin panel) where boolean
|
* Note:
|
||||||
* configurations need to be fixed as of 10/08/2011.
|
* If we ever would decide to return exactly the variable type as entered,
|
||||||
|
* we will have fun with the additional features. :-)
|
||||||
|
*
|
||||||
|
* The config class always returns strings but in the default features
|
||||||
|
* we use a "false" to determine if the config value isn't set.
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
class Config
|
class Config
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue