Missing dependencies. Reported by Hans Spaans (#1512557)
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 26 Jun 2006 14:17:05 +0000 (14:17 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 26 Jun 2006 14:17:05 +0000 (14:17 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11305 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/vcard.php

index 693cabed70eefdfe2628dbb672c10bf6e8003613..d22b9687b158fe44e2260b51f9283e5f0bf12128 100644 (file)
 require('../include/init.php');
 
 /* SquirrelMail required files. */
-require_once(SM_PATH . 'functions/mime.php');
-require_once(SM_PATH . 'functions/url_parser.php');
-require_once(SM_PATH . 'functions/imap_general.php');
-require_once(SM_PATH . 'functions/imap_messages.php');
+
+/** imap functions depend on date functions */
+include_once(SM_PATH . 'functions/date.php');
+/** form functions */
+include_once(SM_PATH . 'functions/forms.php');
+/** mime decoding */
+include_once(SM_PATH . 'functions/mime.php');
+/** url parser */
+include_once(SM_PATH . 'functions/url_parser.php');
+/** imap functions used to retrieve vcard */
+include_once(SM_PATH . 'functions/imap_general.php');
+include_once(SM_PATH . 'functions/imap_messages.php');
 
 /* globals */
 sqgetGlobalVar('username', $username, SQ_SESSION);