From 9abd95fad3784a10fc48bc40f9b8a75d7d74edda Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 31 Mar 2016 16:06:03 -0700 Subject: static App --- mod/fhublocs.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/fhublocs.php') diff --git a/mod/fhublocs.php b/mod/fhublocs.php index dce00e383..7eab2b811 100644 --- a/mod/fhublocs.php +++ b/mod/fhublocs.php @@ -38,7 +38,7 @@ function fhublocs_content(&$a) { if($y) $primary_address = $y[0]['xchan_addr']; - $hub_address = $rr['channel']['channel_address'] . '@' . get_app()->get_hostname(); + $hub_address = $rr['channel']['channel_address'] . '@' . App::get_hostname(); $primary = (($hub_address === $primary_address) ? 1 : 0); @@ -57,11 +57,11 @@ function fhublocs_content(&$a) { dbesc($rr['channel_guid']), dbesc($rr['channel_guid_sig']), dbesc($rr['channel_hash']), - dbesc($rr['channel_address'] . '@' . get_app()->get_hostname()), + dbesc($rr['channel_address'] . '@' . App::get_hostname()), intval($primary), dbesc(z_root()), dbesc(base64url_encode(rsa_sign(z_root(),$rr['channel_prvkey']))), - dbesc(get_app()->get_hostname()), + dbesc(App::get_hostname()), dbesc(z_root() . '/post'), dbesc($sitekey), dbesc('zot') -- cgit v1.2.3