X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fimage.php;h=a2ef223b5d73bbece7dbc8d3f1e7cf747ffec459;hb=5619673737450c926cf406d4aeb802d0544f52ed;hp=704fd381b3e0e5733aa15a46c4c4010827714090;hpb=4b4abf93a9624311afef0c385023724ee46a2b60;p=squirrelmail.git
diff --git a/src/image.php b/src/image.php
index 704fd381..a2ef223b 100644
--- a/src/image.php
+++ b/src/image.php
@@ -5,27 +5,21 @@
*
* This file shows an attached image
*
- * @copyright © 1999-2005 The SquirrelMail Project Team
+ * @copyright © 1999-2007 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
*/
+/** This is the image page */
+define('PAGE_NAME', 'image');
+
/**
- * Path for SquirrelMail required files.
- * @ignore
+ * Include the SquirrelMail initialization file.
*/
-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/date.php');
-require_once(SM_PATH . 'functions/page_header.php');
-require_once(SM_PATH . 'functions/html.php');
-require_once(SM_PATH . 'include/load_prefs.php');
+require('../include/init.php');
-displayPageHeader($color, 'None');
+displayPageHeader($color);
/* globals */
if ( sqgetGlobalVar('passed_id', $temp, SQ_GET) ) {
@@ -40,7 +34,7 @@ echo '
' .
'