diff --git a/ifttt/ifttt.php b/ifttt/ifttt.php index 50fa119c9..302bc9c14 100644 --- a/ifttt/ifttt.php +++ b/ifttt/ifttt.php @@ -168,7 +168,7 @@ function ifttt_post(App $a) function ifttt_message($uid, $item) { - $a = get_app(); + $a = \get_app(); $_SESSION['authenticated'] = true; $_SESSION['uid'] = $uid; diff --git a/impressum/impressum.php b/impressum/impressum.php index c5a1c98db..d7cbc6d2d 100644 --- a/impressum/impressum.php +++ b/impressum/impressum.php @@ -33,7 +33,7 @@ function impressum_uninstall() { function impressum_module() { } function impressum_content() { - $a = get_app(); + $a = \get_app(); $a->internalRedirect('friendica/'); } diff --git a/widgets/widgets.php b/widgets/widgets.php index 927d67463..64f6b62f5 100644 --- a/widgets/widgets.php +++ b/widgets/widgets.php @@ -77,7 +77,7 @@ function widgets_module() { } function _abs_url($s){ - $a = get_app(); + $a = \get_app(); return preg_replace("|href=(['\"])([^h][^t][^t][^p])|", "href=\$1".$a->getBaseURL()."/\$2", $s); }