| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * l10n.class |
| 5 | * |
| 6 | * This contains internal SquirrelMail functions needed to handle |
| 7 | * translations when php gettext extension is missing or some functions |
| 8 | * are not available. |
| 9 | * |
| 10 | * @copyright 2003-2014 The SquirrelMail Project Team |
| 11 | * @license http://opensource.org/licenses/gpl-license.php GNU Public License |
| 12 | * @version $Id$ |
| 13 | * @package squirrelmail |
| 14 | * @subpackage i18n |
| 15 | */ |
| 16 | |
| 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 |
| 18 | /** @ignore */ |
| 19 | if (! defined('SM_PATH')) define('SM_PATH','../'); |
| 20 | |
| 21 | /** Load all php-gettext classes */ |
| 22 | include_once(SM_PATH . 'class/l10n/streams.class.php'); |
| 23 | include_once(SM_PATH . 'class/l10n/gettext.class.php'); |