Putting back SM_PATH the way it should be and eliminating chdir in the
authorthomppj <thomppj@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 12 Sep 2002 22:24:01 +0000 (22:24 +0000)
committerthomppj <thomppj@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 12 Sep 2002 22:24:01 +0000 (22:24 +0000)
plugins.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3649 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/calendar/event_create.php
plugins/calendar/event_delete.php
plugins/calendar/event_edit.php
plugins/mail_fetch/setup.php
plugins/message_details/message_details_bottom.php
plugins/message_details/message_details_main.php
plugins/message_details/message_details_top.php
plugins/spamcop/options.php
plugins/squirrelspell/sqspell_interface.php
plugins/squirrelspell/sqspell_options.php
plugins/translate/options.php

index f021220..978a030 100644 (file)
@@ -12,7 +12,7 @@
  *
  * $Id$
  */
-define('SM_PATH','../');
+define('SM_PATH','../../');
 
 /* Calender plugin required files. */
 require_once(SM_PATH . 'plugins/calendar/calendar_data.php');
index e598081..09fe78f 100644 (file)
@@ -12,7 +12,7 @@
  *
  * $Id$
  */
-define('SM_PATH','../');
+define('SM_PATH','../../');
 
 /* Calender plugin required files. */
 require_once(SM_PATH . 'plugins/calendar/calendar_data.php');
index 286fc1c..098aeb6 100644 (file)
@@ -12,7 +12,7 @@
  *
  * $Id$
  */
-define('SM_PATH','../');
+define('SM_PATH','../../');
 
 /* Calender plugin required files. */
 require_once(SM_PATH . 'plugins/calendar/calendar_data.php');
index 4741605..1c27171 100644 (file)
@@ -11,7 +11,7 @@
     **  $Id$
     **/
 
-    define('SM_PATH','../');
+    define('SM_PATH','../../');
     require_once(SM_PATH . 'plugins/mail_fetch/functions.php' );
 
     function squirrelmail_plugin_init_mail_fetch() {
index 11d00ec..1593abb 100644 (file)
@@ -10,8 +10,7 @@
  * $Id$
  */
 
-chdir ('..');
-define('SM_PATH','../');
+define('SM_PATH','../../');
 
 /* SquirrelMail required files. */
 require_once(SM_PATH . 'include/validate.php');
index 1300d23..1310ef7 100644 (file)
@@ -10,8 +10,7 @@
  */
 
 /* Path for SquirrelMail required files. */
-chdir('..');
-define('SM_PATH','../');
+define('SM_PATH','../../');
 
 /* SquirrelMail required files. */
 require_once(SM_PATH . 'include/validate.php');
index c02560e..2f5aba7 100644 (file)
@@ -10,8 +10,7 @@
  * $Id$
  */
 
-chdir ('..');
-define('SM_PATH','../');
+define('SM_PATH','../../');
 
 /* SquirrelMail required files. */
 require_once(SM_PATH . 'include/validate.php');
index bc6dd1e..097cadd 100755 (executable)
@@ -1,7 +1,6 @@
 <?php
 
-chdir('..');
-define('SM_PATH','../');
+define('SM_PATH','../../');
 require_once(SM_PATH . 'include/validate.php');
 
 displayPageHeader($color, "None");   
index d5b15f9..8f42804 100644 (file)
@@ -29,8 +29,7 @@ $SQSPELL_CRYPTO=FALSE;
  * Load the stuff needed from squirrelmail
  */
 
-chdir('..');
-define('SM_PATH','../');
+define('SM_PATH','../../');
 
 /* SquirrelMail required files. */
 require_once(SM_PATH . 'include/validate.php');
index 3470d15..54a898f 100644 (file)
@@ -23,8 +23,7 @@ $SQSPELL_CRYPTO=FALSE;
 /**
  * Load some necessary stuff from squirrelmail. 
  */
-chdir('..');
-define('SM_PATH','../');
+define('SM_PATH','../../');
 
 /* SquirrelMail required files. */
 require_once(SM_PATH . 'include/validate.php');
index 2288a44..ae55cb9 100644 (file)
@@ -12,8 +12,7 @@
  */
 
 /* Path for SquirrelMail required files. */
-chdir('..');
-define('SM_PATH','../');
+define('SM_PATH','../../');
 
 /* SquirrelMail required files. */
 require_once(SM_PATH . 'include/validate.php');