X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fupdate_profile.php;h=f293088a962c1896a10e26cf5844408fbf0d37d0;hb=de4a2e6fd03cd0aab94a256eba92ed593931534b;hp=b77a9cdcfc5e4d40755c38bb22172364f9cdb7fb;hpb=45ebeba643a6d600e8778475f70f827f32bf3146;p=friendica.git diff --git a/mod/update_profile.php b/mod/update_profile.php index b77a9cdcfc..f293088a96 100644 --- a/mod/update_profile.php +++ b/mod/update_profile.php @@ -5,6 +5,9 @@ * Purpose: AJAX synchronisation of profile page */ +use Friendica\App; +use Friendica\Core\PConfig; + require_once("mod/profile.php"); function update_profile_content(App $a) { @@ -31,7 +34,7 @@ function update_profile_content(App $a) { $replace = ""; $pattern = "/<\s*audio[^>]*>(.*?)<\s*\/\s*audio>/i"; $text = preg_replace($pattern, $replace, $text);