Added a counter pref and a fix for the imapid
[squirrelmail.git] / src / delete_message.php
index dd78d2bdb114e9e511f3b8a7af2a94ca6d51eff9..d4c6f86050c18eb4ca7370bd8ff54ea8348a0580 100644 (file)
@@ -1,8 +1,9 @@
 <?php
+
    /**
     **  delete_message.php
     **
-    **  Copyright (c) 1999-2000 The SquirrelMail development team
+    **  Copyright (c) 1999-2001 The SquirrelMail development team
     **  Licensed under the GNU GPL. For full terms see the file COPYING.
     **
     **  Deletes a meesage from the IMAP server 
@@ -10,9 +11,9 @@
     **  $Id$
     **/
 
-   include("../src/validate.php");
-   include("../functions/display_messages.php");
-   include("../functions/imap.php");
+   require_once('../src/validate.php');
+   require_once('../functions/display_messages.php');
+   require_once('../functions/imap.php');
 
    $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
 
@@ -29,4 +30,4 @@
       header ("Location: $location/right_main.php?sort=$sort&startMessage=$startMessage&mailbox=".urlencode($mailbox));
 
    sqimap_logout($imapConnection);
-?>
+?>
\ No newline at end of file