must initialise MessageHeader object to avoid
[squirrelmail.git] / class / l10n.class.php
CommitLineData
0309ed16 1<?php
4b4abf93 2
0309ed16 3/**
4 * l10n.class
5 *
598294a7 6 * This contains internal SquirrelMail functions needed to handle
0309ed16 7 * translations when php gettext extension is missing or some functions
8 * are not available.
9 *
c0d96801 10 * @copyright 2003-2012 The SquirrelMail Project Team
4b4abf93 11 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
0309ed16 12 * @version $Id$
13 * @package squirrelmail
14 * @subpackage i18n
15 */
16
24024eb7 17//FIXME is SM_PATH ever not defined here? defined() calls are CPU intensive enough that we should remove this if it is not really needed
763469ef 18/** @ignore */
19if (! defined('SM_PATH')) define('SM_PATH','../');
20
0309ed16 21/** Load all php-gettext classes */
22include_once(SM_PATH . 'class/l10n/streams.class.php');
23include_once(SM_PATH . 'class/l10n/gettext.class.php');