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 3863999..033bd71 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 48d2def..fc05bdb 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');