]> git.mxchange.org Git - friendica.git/blobdiff - mod/localtime.php
Merge pull request #3949 from annando/further-information
[friendica.git] / mod / localtime.php
index c32f67976bd4ff37a0003663be40ed74fcfe658f..0a3881f6989fb3da25bf719ba25726161933c323 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 
 use Friendica\App;
+use Friendica\Core\System;
 
 require_once('include/datetime.php');
 
@@ -37,7 +38,7 @@ function localtime_content(App $a) {
                $o .= '<p>' . sprintf( t('Converted localtime: %s'),$a->data['mod-localtime']) . '</p>';
 
 
-       $o .= '<form action ="' . App::get_baseurl() . '/localtime?f=&time=' . $t . '" method="post" >';
+       $o .= '<form action ="' . System::baseUrl() . '/localtime?f=&time=' . $t . '" method="post" >';
 
        $o .= '<p>' . t('Please select your timezone:') . '</p>';
 
@@ -47,4 +48,4 @@ function localtime_content(App $a) {
 
        return $o;
 
-}
\ No newline at end of file
+}