aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-04-26 04:40:34 -0700
committerFriendika <info@friendika.com>2011-04-26 04:40:34 -0700
commit7bf85eadb2cabedf955046722d1ff45e0f160421 (patch)
tree155010109cd753c7498c62881feae7d3afdd5d1f /boot.php
parent1ec8fd416bae3071b6a9c33bc18d7f9ded34320f (diff)
parent245a56f0c1c7db884d0bbd4265f6f74a20442748 (diff)
downloadvolse-hubzilla-7bf85eadb2cabedf955046722d1ff45e0f160421.tar.gz
volse-hubzilla-7bf85eadb2cabedf955046722d1ff45e0f160421.tar.bz2
volse-hubzilla-7bf85eadb2cabedf955046722d1ff45e0f160421.zip
Merge branch 'fb'
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index bbc31f465..b521735f8 100644
--- a/boot.php
+++ b/boot.php
@@ -1218,6 +1218,7 @@ function set_config($family,$key,$value) {
global $a;
if(get_config($family,$key,true) === false) {
+ $a->config[$family][$key] = $value;
$ret = q("INSERT INTO `config` ( `cat`, `k`, `v` ) VALUES ( '%s', '%s', '%s' ) ",
dbesc($family),
dbesc($key),
@@ -1312,6 +1313,7 @@ function set_pconfig($uid,$family,$key,$value) {
global $a;
if(get_pconfig($uid,$family,$key,true) === false) {
+ $a->config[$uid][$family][$key] = $value;
$ret = q("INSERT INTO `pconfig` ( `uid`, `cat`, `k`, `v` ) VALUES ( %d, '%s', '%s', '%s' ) ",
intval($uid),
dbesc($family),