aboutsummaryrefslogtreecommitdiffstats
path: root/include/config.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-10 01:19:27 -0700
committerFriendika <info@friendika.com>2011-08-10 01:19:27 -0700
commitee6806d82b8a174f5922b396fbe473a8f3ed883f (patch)
tree56cc9c776de53f177fe7cea70dcb480dd9952680 /include/config.php
parentcbfb40c43fd63d149ed3d4aa1b056bccb437cc32 (diff)
downloadvolse-hubzilla-ee6806d82b8a174f5922b396fbe473a8f3ed883f.tar.gz
volse-hubzilla-ee6806d82b8a174f5922b396fbe473a8f3ed883f.tar.bz2
volse-hubzilla-ee6806d82b8a174f5922b396fbe473a8f3ed883f.zip
never enough comments
Diffstat (limited to 'include/config.php')
-rw-r--r--include/config.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/config.php b/include/config.php
index fe675bc33..f565ab117 100644
--- a/include/config.php
+++ b/include/config.php
@@ -1,5 +1,18 @@
<?php
+/**
+ *
+ * Arbitrary configuration storage
+ * Note:
+ * Please do not store booleans - convert to 0/1 integer values
+ * The get_?config() 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
+ * configurations need to be fixed as of 10/08/2011.
+ */
+
+
// retrieve a "family" of config variables from database to cached storage
if(! function_exists('load_config')) {