From: tokul Date: Mon, 26 Jun 2006 14:17:05 +0000 (+0000) Subject: Missing dependencies. Reported by Hans Spaans (#1512557) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ae299e07a2ee3003dde7c2f69b6f2cd2d0703793;p=squirrelmail.git Missing dependencies. Reported by Hans Spaans (#1512557) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11305 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/vcard.php b/src/vcard.php index 693cabed..d22b9687 100644 --- a/src/vcard.php +++ b/src/vcard.php @@ -17,10 +17,18 @@ 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);