Commit 13f69bda authored by Michael Herold's avatar Michael Herold
Browse files

Releases v0.4.3

parent 67104bbf
v0.4.3
- Fixes crash on missing 'Accept-Language' HTTP header.
v0.4.2
- First release used in production
- Adds GPL LICENSE
......
{
"name": "hemio/edentata",
"type": "project",
"description": "Toothless web frontend for carnivora",
"description": "A toothless frontend for the hosting-service management carnivora.",
"keywords": ["html"],
"homepage": "http://github.com/qua-bla/edentata",
"license": "GPL-3.0+",
......
......@@ -31,7 +31,11 @@ class I10n
public function __construct()
{
$guessedLocale = \Locale::acceptFromHttp($_SERVER['HTTP_ACCEPT_LANGUAGE']);
if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE']))
$guessedLocale = \Locale::acceptFromHttp($_SERVER['HTTP_ACCEPT_LANGUAGE']);
else
$guessedLocale = '';
$locales = array_filter(
self::$supportedLocales
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment