X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FContent%2FSmilies.php;h=08c6309018f3335726f23d5b008e29eea7662dec;hb=b852e5842bffcc1df1e5ac5d356fd9f19b7af499;hp=2bf232d090464bcfb3f52ce01736e495978ef798;hpb=7b4bba66dbb122585e6c7e844d636d62b704ea38;p=friendica.git diff --git a/src/Content/Smilies.php b/src/Content/Smilies.php index 2bf232d090..08c6309018 100644 --- a/src/Content/Smilies.php +++ b/src/Content/Smilies.php @@ -17,7 +17,7 @@ namespace Friendica\Content; use Friendica\Core\Config; use Friendica\Core\Hook; use Friendica\Core\PConfig; -use Friendica\Core\System; +use Friendica\DI; use Friendica\Util\Strings; /** @@ -102,42 +102,44 @@ class Smilies ]; + $baseUrl = DI::baseUrl(); + $icons = [ - '<3', - '</3', - '<\\3', - ':-)', - ';-)', - ':-(', - ':-P', - ':-p', - ':-\', - ':-\', - ':-x', - ':-X', - ':-D', - '8-|', - '8-O', - ':-O', - '\\o/', - 'o.O', - 'O.o', - 'o_O', - 'O_o', - ':\'(', - ':-!', - ':-/', - ':-[', - '8-)', - ':beer', - ':homebrew', - ':coffee', - ':facepalm', - ':like', - ':dislike', - '~friendica ~friendica', - 'redred#matrix', - 'redred#matrixmatrix' + '<3', + '</3', + '<\\3', + ':-)', + ';-)', + ':-(', + ':-P', + ':-p', + ':-\', + ':-\', + ':-x', + ':-X', + ':-D', + '8-|', + '8-O', + ':-O', + '\\o/', + 'o.O', + 'O.o', + 'o_O', + 'O_o', + ':\'(', + ':-!', + ':-/', + ':-[', + '8-)', + ':beer', + ':homebrew', + ':coffee', + ':facepalm', + ':like', + ':dislike', + '~friendica ~friendica', + 'redred#matrix', + 'redred#matrixmatrix' ]; $params = ['texts' => $texts, 'icons' => $icons];