projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Part 1 of switch to use of SM_PATH with require_once.
[squirrelmail.git]
/
src
/
options_personal.php
diff --git
a/src/options_personal.php
b/src/options_personal.php
index dae0c92b7cae51585bd432cf84c96ca976f6b94c..c91b21791073387b2d809430cfbf6a951108d664 100644
(file)
--- a/
src/options_personal.php
+++ b/
src/options_personal.php
@@
-11,8
+11,12
@@
* $Id$
*/
* $Id$
*/
-require_once('../functions/imap.php');
-require_once('../functions/array.php');
+/* Path for SquirrelMail required files. */
+define('SM_PATH','../');
+
+/* SquirrelMail required files. */
+require_once(SM_PATH . 'functions/imap.php');
+require_once(SM_PATH . 'functions/array.php');
/* Define the group constants for the personal options page. */
define('SMOPT_GRP_CONTACT', 0);
/* Define the group constants for the personal options page. */
define('SMOPT_GRP_CONTACT', 0);