prevent errors when files are opened directly
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 26 Apr 2005 14:27:29 +0000 (14:27 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 26 Apr 2005 14:27:29 +0000 (14:27 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9392 7612ce4b-ef26-0410-bec9-ea0150e637f0

class/l10n.class.php
class/mime.class.php

index 3863999198bf3d9387bb76d4fb277f16b4c01180..033bd714ba44776a9358b2c9e9abaf75bbe38c39 100644 (file)
@@ -14,6 +14,9 @@
  * @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');
index 48d2def47750815d39a455012beb02bf53e8989b..fc05bdb2cf996907d31dee7dbb5a36e5412d0986 100644 (file)
@@ -12,6 +12,9 @@
  * @package squirrelmail
  */
 
+/** @ignore */
+if (! defined('SM_PATH')) define('SM_PATH','../');
+
 /** Load in the entire MIME system */
 require_once(SM_PATH . 'class/mime/Rfc822Header.class.php');
 require_once(SM_PATH . 'class/mime/MessageHeader.class.php');