aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-12-20 00:33:53 -0800
committerfriendica <info@friendica.com>2012-12-20 00:33:53 -0800
commite091d30ca4d057e810864b1ba2351b9c050ad548 (patch)
tree70fa2d1c71be6ef66b26314e97e62e8fc15e1a7f
parentf6dc0fe26fc7fec63b956255623f6c1bc068f755 (diff)
downloadvolse-hubzilla-e091d30ca4d057e810864b1ba2351b9c050ad548.tar.gz
volse-hubzilla-e091d30ca4d057e810864b1ba2351b9c050ad548.tar.bz2
volse-hubzilla-e091d30ca4d057e810864b1ba2351b9c050ad548.zip
wrong constant
-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)