1
0
mirror of https://github.com/typemill/typemill.git synced 2025-08-04 13:17:29 +02:00

Version 1.2.9: Add videos and public forms

This commit is contained in:
Sebastian
2019-01-04 00:53:18 +01:00
parent 08ece40117
commit d5182b77a7
5 changed files with 29 additions and 27 deletions

View File

@@ -19,8 +19,7 @@ class SettingsController extends Controller
$settings = $this->c->get('settings');
$copyright = $this->getCopyright();
$languages = $this->getLanguages();
$locale = explode(',',$_SERVER['HTTP_ACCEPT_LANGUAGE']);
$locale = $locale[0];
$locale = isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) ? substr($_SERVER["HTTP_ACCEPT_LANGUAGE"],0,2) : 'en';
$users = $user->getUsers();
$route = $request->getAttribute('route');