Strict type check prevents old config files from breaking everything (per new changes...
[squirrelmail.git] / class / l10n.class.php
index ae44963763c218aef639fac6e675d5e7ce55c1cb..bc93511f2442c3fe014eeb17a52650db634cd994 100644 (file)
@@ -1,20 +1,22 @@
 <?php
 <?php
+
 /**
  * l10n.class
  *
 /**
  * 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.
  *
  * translations when php gettext extension is missing or some functions
  * are not available.
  *
+ * @copyright &copy; 2003-2006 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
  * @subpackage i18n
  */
 
  * @version $Id$
  * @package squirrelmail
  * @subpackage i18n
  */
 
+/** @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');
 /** 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