X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Ffriendika.php;h=b12110bd5402a267da7d5ebc2eef1aca20314ced;hb=7e2284043f7367f531e14ce3c26c8c3c71ca2e4b;hp=c7d8b5b810f8074677ee2bf718e0d24cb229edb6;hpb=4cff911939b263993eb41682ca558c975e2db01f;p=friendica.git diff --git a/mod/friendika.php b/mod/friendika.php index c7d8b5b810..b12110bd54 100644 --- a/mod/friendika.php +++ b/mod/friendika.php @@ -16,15 +16,16 @@ 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'], - + 'platform' => FRIENDIKA_PLATFORM, + 'info' => ((x($a->config,'info')) ? $a->config['info'] : '') ); - echo str_replace('\\/','/',json_encode($data)); + echo json_encode($data); killme(); } } @@ -39,11 +40,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('Shared content within the Friendika network is provided under the Creative Commons Attribution 3.0 license') . '

'; + $o .= t('running at web location') . ' ' . z_root() . '

'; $o .= t('Please visit Project.Friendika.com to learn more about the Friendika project.') . '

'; @@ -62,7 +60,9 @@ function friendika_content(&$a) { } else $o .= '

' . t('No installed plugins/addons/apps'); - + + call_hooks('about_hook', $o); + return $o; }