1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 13:35:56 +00:00

move language detection to a plugin, remove config.php constant

This commit is contained in:
Andrew Dolgov
2015-06-19 10:12:47 +03:00
parent 724e08f1c0
commit 3318d32410
11 changed files with 53 additions and 34 deletions

View File

@@ -99,8 +99,6 @@
require_once "lib/accept-to-gettext.php";
require_once "lib/gettext/gettext.inc";
require_once "lib/languagedetect/LanguageDetect.php";
function startup_gettext() {
# Get locale from Accept-Language header