** $Id$
**
**/
-
- chdir ('../');
- require_once('../src/validate.php');
- require_once('../src/load_prefs.php');
- require_once('../functions/page_header.php');
+ chdir('..');
+ define('SM_PATH','../');
+
+ /* SquirrelMail required files. */
+ require_once(SM_PATH . 'include/validate.php');
+ require_once(SM_PATH . 'src/load_prefs.php');
+ require_once(SM_PATH . 'functions/page_header.php');
displayHtmlHeader( _("New Mail"), '', FALSE );
**
**/
- chdir("..");
- require_once('../src/validate.php');
- require_once('../functions/page_header.php');
- require_once('../functions/display_messages.php');
- require_once('../functions/imap.php');
- require_once('../functions/array.php');
- require_once('../src/load_prefs.php');
+ chdir('..');
+ define('SM_PATH','../');
+
+ /* SquirrelMail required files. */
+ require_once(SM_PATH . 'include/validate.php');
+ require_once(SM_PATH . 'functions/page_header.php');
+ require_once(SM_PATH . 'functions/display_messages.php');
+ require_once(SM_PATH . 'functions/imap.php');
+ require_once(SM_PATH . 'functions/array.php');
+ require_once(SM_PATH . 'src/load_prefs.php');
displayPageHeader($color, 'None');
*/
chdir ("../");
- require_once('../src/validate.php');
- require_once('../functions/html.php');
- require_once("../src/load_prefs.php");
+ chdir('..');
+ define('SM_PATH','../');
+
+ /* SquirrelMail required files. */
+ require_once(SM_PATH . 'include/validate.php');
+ require_once(SM_PATH . 'functions/html.php');
+ require_once(SM_PATH . 'src/load_prefs.php');
+
if (!isset($sound)) {
$sound = "Click.wav";
}