Part 1 of switch to use of SM_PATH with require_once.
[squirrelmail.git] / src / options_folder.php
index 3ee491017ee85e37ce2f8a12c51bf9e3da96986f..f103cbc96794e8d69fbce239cccd636c55fe84e4 100644 (file)
  * $Id$
  */
 
-require_once('../functions/imap.php');
+/* Path for SquirrelMail required files. */
+define('SM_PATH','../');
+
+/* SquirrelMail required files. */
+require_once(SM_PATH . 'functions/imap.php');
 
 /* Define the group constants for the folder options page. */   
 define('SMOPT_GRP_SPCFOLDER', 0);