mirror of
https://github.com/friendica/friendica
synced 2025-04-27 13:10:10 +00:00
preliminary network abstraction, configurable debugging.
This commit is contained in:
parent
0ebd4aa783
commit
b91494d22e
10 changed files with 176 additions and 141 deletions
4
boot.php
4
boot.php
|
@ -605,10 +605,12 @@ if(! function_exists('get_config')) {
|
|||
function get_config($family, $key, $instore = false) {
|
||||
|
||||
global $a;
|
||||
|
||||
if(! $instore) {
|
||||
if(isset($a->config[$family][$key])) {
|
||||
if($a->config[$family][$key] == '!<unset>!')
|
||||
if($a->config[$family][$key] === '!<unset>!') {
|
||||
return false;
|
||||
}
|
||||
return $a->config[$family][$key];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue