Fix PHP warning on windows due to LC_MESSAGES not defined.

fixes #8912
This commit is contained in:
Paul Richards 2015-03-30 21:42:29 +01:00 committed by Alexander A. Klimov
parent 6e28a58739
commit 5b18ff7965
2 changed files with 5 additions and 0 deletions

View File

@ -18,6 +18,7 @@ Marius Hein <marius.hein@netways.de>
Markus Frosch <markus@lazyfrosch.de>
Matthias Jentsch <matthias.jentsch@netways.de>
Michael Friedrich <michael.friedrich@netways.de>
Paul Richards <paul@minimoo.org>
Rene Moser <rene.moser@swisstxt.ch>
Susanne Vestner-Ludwig <susanne.vestner-ludwig@inserteffect.com>
Sylph Lin <sylph.lin@gmail.com>

View File

@ -5,6 +5,10 @@ namespace Icinga\Util;
use Icinga\Exception\IcingaException;
if (!defined('LC_MESSAGES')) {
define('LC_MESSAGES', 6);
}
/**
* Helper class to ease internationalization when using gettext
*/