From 8650e9e14aaea9a02c0967991b638ab1adfae9fd Mon Sep 17 00:00:00 2001 From: ebullient Date: Sun, 9 Mar 2003 18:54:34 +0000 Subject: [PATCH] added explicit include of global.php git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4626 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/folders_create.php | 1 + src/folders_delete.php | 1 + src/folders_rename_do.php | 1 + src/folders_rename_getname.php | 1 + src/folders_subscribe.php | 1 + src/help.php | 1 + src/move_messages.php | 1 + src/read_body.php | 1 + src/right_main.php | 1 + src/view_header.php | 1 + 10 files changed, 10 insertions(+) diff --git a/src/folders_create.php b/src/folders_create.php index a4d5eb4a..08bc1928 100644 --- a/src/folders_create.php +++ b/src/folders_create.php @@ -17,6 +17,7 @@ define('SM_PATH','../'); /* SquirrelMail required files. */ require_once(SM_PATH . 'include/validate.php'); +require_once(SM_PATH . 'functions/global.php'); require_once(SM_PATH . 'functions/imap.php'); require_once(SM_PATH . 'functions/display_messages.php'); diff --git a/src/folders_delete.php b/src/folders_delete.php index 58e6fe2c..c6d914d7 100644 --- a/src/folders_delete.php +++ b/src/folders_delete.php @@ -17,6 +17,7 @@ define('SM_PATH','../'); /* SquirrelMail required files. */ require_once(SM_PATH . 'include/validate.php'); +require_once(SM_PATH . 'functions/global.php'); require_once(SM_PATH . 'functions/imap.php'); require_once(SM_PATH . 'functions/tree.php'); require_once(SM_PATH . 'functions/display_messages.php'); diff --git a/src/folders_rename_do.php b/src/folders_rename_do.php index 5c0c3937..c6eb2061 100644 --- a/src/folders_rename_do.php +++ b/src/folders_rename_do.php @@ -17,6 +17,7 @@ define('SM_PATH','../'); /* SquirrelMail required files. */ require_once(SM_PATH . 'include/validate.php'); +require_once(SM_PATH . 'functions/global.php'); require_once(SM_PATH . 'functions/imap.php'); require_once(SM_PATH . 'functions/display_messages.php'); diff --git a/src/folders_rename_getname.php b/src/folders_rename_getname.php index 7603d6c8..1b8066d7 100644 --- a/src/folders_rename_getname.php +++ b/src/folders_rename_getname.php @@ -17,6 +17,7 @@ define('SM_PATH','../'); /* SquirrelMail required files. */ require_once(SM_PATH . 'include/validate.php'); +require_once(SM_PATH . 'functions/global.php'); require_once(SM_PATH . 'functions/imap_mailbox.php'); require_once(SM_PATH . 'functions/html.php'); require_once(SM_PATH . 'functions/display_messages.php'); diff --git a/src/folders_subscribe.php b/src/folders_subscribe.php index 724a63ed..dbf1b3a7 100644 --- a/src/folders_subscribe.php +++ b/src/folders_subscribe.php @@ -17,6 +17,7 @@ define('SM_PATH','../'); /* SquirrelMail required files. */ require_once(SM_PATH . 'include/validate.php'); +require_once(SM_PATH . 'functions/global.php'); require_once(SM_PATH . 'functions/imap.php'); require_once(SM_PATH . 'functions/display_messages.php'); diff --git a/src/help.php b/src/help.php index c3e5835d..6318037d 100644 --- a/src/help.php +++ b/src/help.php @@ -16,6 +16,7 @@ define('SM_PATH','../'); /* SquirrelMail required files. */ require_once(SM_PATH . 'include/validate.php'); +require_once(SM_PATH . 'functions/global.php'); require_once(SM_PATH . 'functions/display_messages.php'); displayPageHeader($color, 'None' ); diff --git a/src/move_messages.php b/src/move_messages.php index 0e7f51d1..c4702444 100644 --- a/src/move_messages.php +++ b/src/move_messages.php @@ -16,6 +16,7 @@ define('SM_PATH','../'); /* SquirrelMail required files. */ require_once(SM_PATH . 'include/validate.php'); +require_once(SM_PATH . 'functions/global.php'); require_once(SM_PATH . 'functions/display_messages.php'); require_once(SM_PATH . 'functions/imap.php'); require_once(SM_PATH . 'functions/html.php'); diff --git a/src/read_body.php b/src/read_body.php index 535bcde3..465c2e94 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -17,6 +17,7 @@ define('SM_PATH','../'); /* SquirrelMail required files. */ require_once(SM_PATH . 'include/validate.php'); +require_once(SM_PATH . 'functions/global.php'); require_once(SM_PATH . 'functions/imap.php'); require_once(SM_PATH . 'functions/mime.php'); require_once(SM_PATH . 'functions/date.php'); diff --git a/src/right_main.php b/src/right_main.php index 1a99b0bd..2ccde4d8 100644 --- a/src/right_main.php +++ b/src/right_main.php @@ -17,6 +17,7 @@ define('SM_PATH','../'); /* SquirrelMail required files. */ require_once(SM_PATH . 'include/validate.php'); +require_once(SM_PATH . 'functions/global.php'); require_once(SM_PATH . 'functions/imap.php'); require_once(SM_PATH . 'functions/date.php'); require_once(SM_PATH . 'functions/mime.php'); diff --git a/src/view_header.php b/src/view_header.php index 3e1f6e35..4f2da59f 100644 --- a/src/view_header.php +++ b/src/view_header.php @@ -16,6 +16,7 @@ define('SM_PATH','../'); /* SquirrelMail required files. */ require_once(SM_PATH . 'include/validate.php'); +require_once(SM_PATH . 'functions/global.php'); require_once(SM_PATH . 'functions/imap.php'); require_once(SM_PATH . 'functions/html.php'); require_once(SM_PATH . 'functions/url_parser.php'); -- 2.25.1