aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-12-02 16:21:15 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-12-02 16:21:15 -0800
commitc29f622b90a58a783787b27736cd9738e6be50c2 (patch)
tree451c3c0858a4e1e13e77552e324ea2d684707cb4 /boot.php
parent25caeee8547df73a7162dc6de30a030fa0bceea8 (diff)
downloadvolse-hubzilla-c29f622b90a58a783787b27736cd9738e6be50c2.tar.gz
volse-hubzilla-c29f622b90a58a783787b27736cd9738e6be50c2.tar.bz2
volse-hubzilla-c29f622b90a58a783787b27736cd9738e6be50c2.zip
introduce STD_VERSION and get_std_version() [in include/plugin.php], we begin with 0.11.1 since it is an incompatible interface change to 0.11.
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/boot.php b/boot.php
index 8d99c300e..38eb5bbf4 100755
--- a/boot.php
+++ b/boot.php
@@ -48,6 +48,7 @@ require_once('include/AccessList.php');
define ( 'PLATFORM_NAME', 'hubzilla' );
define ( 'RED_VERSION', trim(file_get_contents('version.inc')) . 'H');
+define ( 'STD_VERSION', '0.11.1' );
define ( 'ZOT_REVISION', 1 );
define ( 'DB_UPDATE_VERSION', 1160 );
@@ -65,10 +66,10 @@ define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );
//define ( 'NULL_DATE', '0000-00-00 00:00:00' );
define ( 'TEMPLATE_BUILD_PATH', 'store/[data]/smarty3' );
-define ( 'DIRECTORY_MODE_NORMAL', 0x0000); // This is technically DIRECTORY_MODE_TERTIARY, but it's the default, hence 0x0000
-define ( 'DIRECTORY_MODE_PRIMARY', 0x0001);
-define ( 'DIRECTORY_MODE_SECONDARY', 0x0002);
-define ( 'DIRECTORY_MODE_STANDALONE', 0x0100);
+define ( 'DIRECTORY_MODE_NORMAL', 0x0000); // A directory client
+define ( 'DIRECTORY_MODE_PRIMARY', 0x0001); // There can only be *one* primary directory server in a directory_realm.
+define ( 'DIRECTORY_MODE_SECONDARY', 0x0002); // All other mirror directory servers
+define ( 'DIRECTORY_MODE_STANDALONE', 0x0100); // A detached (off the grid) hub with itself as directory server.
// We will look for upstream directories whenever me make contact
// with other sites, but if this is a new installation and isn't