From: Michael Date: Sun, 26 Nov 2017 11:43:02 +0000 (+0000) Subject: Added clarification X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=774a7193d2e09392eb7659aa95546d1043d25776;p=friendica.git Added clarification --- diff --git a/src/Core/Config.php b/src/Core/Config.php index 219831ad98..a1ea5ae1ff 100644 --- a/src/Core/Config.php +++ b/src/Core/Config.php @@ -13,13 +13,14 @@ use dba; /** * @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. + * 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. * - * There are a few places in the code (such as the admin panel) where boolean - * configurations need to be fixed as of 10/08/2011. */ class Config {