must initialise MessageHeader object to avoid
[squirrelmail.git] / class / l10n.class.php
index ae44963763c218aef639fac6e675d5e7ce55c1cb..4b23a4c62fff07a13a4102f418472015bafda2e4 100644 (file)
@@ -1,20 +1,23 @@
 <?php
+
 /**
  * l10n.class
  *
- * Copyright (c) 2003-2004 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * This contains internal squirrelmail functions needed to handle 
+ * This contains internal SquirrelMail functions needed to handle
  * translations when php gettext extension is missing or some functions
  * are not available.
  *
+ * @copyright 2003-2012 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
  * @subpackage i18n
  */
 
+//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
+/** @ignore */
+if (! defined('SM_PATH')) define('SM_PATH','../');
+
 /** Load all php-gettext classes */
 include_once(SM_PATH . 'class/l10n/streams.class.php');
 include_once(SM_PATH . 'class/l10n/gettext.class.php');
-?>
\ No newline at end of file