diff --git a/ifttt/ifttt.php b/ifttt/ifttt.php index 029db9a0..d7eb5109 100644 --- a/ifttt/ifttt.php +++ b/ifttt/ifttt.php @@ -165,7 +165,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 c5a1c98d..d7cbc6d2 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 927d6746..64f6b62f 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); }