]> git.mxchange.org Git - friendica.git/blobdiff - mod/localtime.php
Merge pull request #3769 from annando/show-forum-posts
[friendica.git] / mod / localtime.php
index 535308903153af6d3cf81ef4d310ccc8705034db..0a3881f6989fb3da25bf719ba25726161933c323 100644 (file)
@@ -1,7 +1,9 @@
 <?php
 
-require_once('include/datetime.php');
+use Friendica\App;
+use Friendica\Core\System;
 
+require_once('include/datetime.php');
 
 function localtime_post(App $a) {
 
@@ -36,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>';
 
@@ -46,4 +48,4 @@ function localtime_content(App $a) {
 
        return $o;
 
-}
\ No newline at end of file
+}