X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Ffriendika.php;h=d0e709c753b3cd19ca77e053093aea1e7541bbc4;hb=2abcf76ec17a9a7754c399cdde9a4449308a4b02;hp=c7d8b5b810f8074677ee2bf718e0d24cb229edb6;hpb=4cff911939b263993eb41682ca558c975e2db01f;p=friendica.git diff --git a/mod/friendika.php b/mod/friendika.php index c7d8b5b810..d0e709c753 100644 --- a/mod/friendika.php +++ b/mod/friendika.php @@ -16,15 +16,15 @@ function friendika_init(&$a) { $data = Array( 'version' => FRIENDIKA_VERSION, - 'url' => $a->get_baseurl(), + 'url' => z_root(), 'plugins' => $a->plugins, 'register_policy' => $register_policy[$a->config['register_policy']], 'admin' => $admin, 'site_name' => $a->config['sitename'], - + 'info' => ((x($a->config,'info')) ? $a->config['info'] : '') ); - echo str_replace('\\/','/',json_encode($data)); + echo json_encode($data); killme(); } } @@ -39,9 +39,8 @@ function friendika_content(&$a) { $o .= '
';
- $o .= 'View License' . '
';
$o .= t('This is Friendika version') . ' ' . FRIENDIKA_VERSION . ' ';
- $o .= t('running at web location') . ' ' . $a->get_baseurl() . '
'; + $o .= t('running at web location') . ' ' . z_root() . '
'; $o .= t('Shared content within the Friendika network is provided under the Creative Commons Attribution 3.0 license') . '
'; @@ -62,7 +61,9 @@ function friendika_content(&$a) { } else $o .= '
' . t('No installed plugins/addons/apps'); - + + call_hooks('about_hook', $o); + return $o; }