X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fcredits.php;h=3d71c54b3aa0c4e61cd01d201efa576e41653da8;hb=41663c7592abe55a958632c3a48265e0a8544d2b;hp=c53c86b8b9882b3b1913cb2db2ab651a8069d7f1;hpb=8821d33f73785884cfce83e7b23d3ef19cc1bc11;p=friendica.git diff --git a/mod/credits.php b/mod/credits.php index c53c86b8b9..3d71c54b3a 100644 --- a/mod/credits.php +++ b/mod/credits.php @@ -5,15 +5,15 @@ * (only contributors to the git repositories for friendica core and the * addons repository will be listed though ATM) */ -use Friendica\App; + use Friendica\Core\L10n; use Friendica\Core\Renderer; function credits_content() { /* fill the page with credits */ - $credits_string = file_get_contents('util/credits.txt'); - $names = explode("\n", htmlspecialchars($credits_string)); + $credits_string = file_get_contents('CREDITS.txt'); + $names = explode("\n", $credits_string); $tpl = Renderer::getMarkupTemplate('credits.tpl'); return Renderer::replaceMacros($tpl, [ '$title' => L10n::t('Credits'),