aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-01 20:30:47 -0800
committerfriendica <info@friendica.com>2015-02-01 20:30:47 -0800
commitaafed50a0ea8a8d7091572473dcb8e4fb8cd4602 (patch)
tree66b27325cd7bcce748965aebb29ab8a1da2f340d /boot.php
parente6a5f7800390e5091743d6a97c6fd8f54c5d1530 (diff)
parente58bef049d7736d448f7bb5688affe491b9e24b1 (diff)
downloadvolse-hubzilla-aafed50a0ea8a8d7091572473dcb8e4fb8cd4602.tar.gz
volse-hubzilla-aafed50a0ea8a8d7091572473dcb8e4fb8cd4602.tar.bz2
volse-hubzilla-aafed50a0ea8a8d7091572473dcb8e4fb8cd4602.zip
Merge branch 'master' into tres
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php15
1 files changed, 14 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 36c266541..cb20e2ad7 100755
--- a/boot.php
+++ b/boot.php
@@ -49,7 +49,7 @@ define ( 'RED_PLATFORM', 'redmatrix' );
define ( 'RED_VERSION', trim(file_get_contents('version.inc')) . 'R');
define ( 'ZOT_REVISION', 1 );
-define ( 'DB_UPDATE_VERSION', 1135 );
+define ( 'DB_UPDATE_VERSION', 1136 );
/**
* Constant with a HTML line break.
@@ -2148,6 +2148,19 @@ function get_directory_realm() {
return DIRECTORY_REALM;
}
+/**
+ * @brief Return the primary directory server.
+ *
+ * @return string
+ */
+function get_directory_primary() {
+ if($x = get_config('system', 'directory_primary'))
+ return $x;
+
+ return DIRECTORY_FALLBACK_MASTER;
+}
+
+
/**
* @brief return relative date of last completed poller execution