aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/directory.php2
-rw-r--r--mod/zfinger.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/directory.php b/include/directory.php
index 0378e2003..105686ca7 100644
--- a/include/directory.php
+++ b/include/directory.php
@@ -1,4 +1,4 @@
-<?php
+g<?php
require_once('boot.php');
require_once('include/zot.php');
require_once('include/cli_startup.php');
diff --git a/mod/zfinger.php b/mod/zfinger.php
index a8dc5c5c8..b51bf7900 100644
--- a/mod/zfinger.php
+++ b/mod/zfinger.php
@@ -128,8 +128,8 @@ function zfinger_init(&$a) {
$dirmode = get_config('system','directory_mode');
if(($dirmode === false) || ($dirmode == DIRECTORY_MODE_NORMAL))
$ret['site']['directory_mode'] = 'normal';
- if($dirmode == DIRECTORY_MODE_MASTER)
- $ret['site']['directory_mode'] = 'master';
+ if($dirmode == DIRECTORY_MODE_PRIMARY)
+ $ret['site']['directory_mode'] = 'primary';
elseif($dirmode == DIRECTORY_MODE_SECONDARY)
$ret['site']['directory_mode'] = 'secondary';
elseif($dirmode == DIRECTORY_MODE_STANDALONE)