Path fixes so the plugin can find the files it needs.
authortassium <tassium@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 31 Dec 2002 17:27:24 +0000 (17:27 +0000)
committertassium <tassium@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 31 Dec 2002 17:27:24 +0000 (17:27 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4341 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/administrator/defines.php
plugins/administrator/options.php

index f4c50216718f4e10f8866a12366bc09b6fe34b47..ce0aec134a81e82bccbdb2cd690334d497d3d919 100644 (file)
@@ -11,7 +11,7 @@
  * $Id$
  */
 
-require_once( '../functions/constants.php' );
+require_once( SM_PATH . 'functions/constants.php' );
 
 /* Define constants for the various option types. */
 define('SMOPT_TYPE_UNDEFINED', -1);
index 69b489da02637b4de097997b1ad01fe287eb4a53..f61cf8b315e016c43f368538f2c76673854f9472 100644 (file)
@@ -157,8 +157,8 @@ foreach ( $defcfg as $key => $def ) {
     $newcfg[$key] = '';
 }
 
-$cfgfile = '../config/config.php';
-parseConfig( '../config/config_default.php' );
+$cfgfile = SM_PATH . 'config/config.php';
+parseConfig( SM_PATH . 'config/config_default.php' );
 parseConfig( $cfgfile );
 
 $colapse = array( 'Titles' => 'off',