diff options
author | friendica <info@friendica.com> | 2015-02-02 17:33:55 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-02-02 17:33:55 -0800 |
commit | 03bb236651fa77c5e73bd04bcf918091d26557b3 (patch) | |
tree | fbe6ac5b14cb6b7001caff86aefeb03e9658d3fe /boot.php | |
parent | 09c146f3118019935805158364c4bc303a7481a3 (diff) | |
parent | fb6deb113b718e18bf1e5031ec868b53acf93c1e (diff) | |
download | volse-hubzilla-03bb236651fa77c5e73bd04bcf918091d26557b3.tar.gz volse-hubzilla-03bb236651fa77c5e73bd04bcf918091d26557b3.tar.bz2 volse-hubzilla-03bb236651fa77c5e73bd04bcf918091d26557b3.zip |
Merge branch 'master' into pocorate
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -2200,6 +2200,13 @@ function get_directory_realm() { * @return string */ function get_directory_primary() { + + $dirmode = intval(get_config('system','directory_mode')); + + if($dirmode == DIRECTORY_MODE_STANDALONE || $dirmode == DIRECTORY_MODE_PRIMARY) { + return z_root(); + } + if($x = get_config('system', 'directory_primary')) return $x; |