diff --git a/public/sendfile.php b/public/sendfile.php index 620a215764def01bc41f41b2b836c593d7342916..e159c8ddef92f5c67d12a8e3aff32a9eb6b2e088 100644 --- a/public/sendfile.php +++ b/public/sendfile.php @@ -51,9 +51,6 @@ if (Request::int('disable_plugins') !== null && ($GLOBALS['user']->id === 'nobod } PluginEngine::loadPlugins(); -//basename() needs setlocale() -init_i18n($_SESSION['_language']); - // Set Base URL, otherwise links will fail on SENDFILE_LINK_MODE = rewrite URLHelper::setBaseURL($GLOBALS['ABSOLUTE_URI_STUDIP']);