From 15a9d1ce671fcbc44ea3e4858d7aa6f5b22300c9 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Wed, 04 Jan 2006 19:37:10 -0500
Subject: [PATCH] Optimized loading time; added periodic mail check; added EXPUNGE command

---
 index.php |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/index.php b/index.php
index ee65f8a..f864aca 100644
--- a/index.php
+++ b/index.php
@@ -3,7 +3,7 @@
 /*
  +-----------------------------------------------------------------------+
  | RoundCube Webmail IMAP Client                                         |
- | Version 0.1-20051214                                                  |
+ | Version 0.1-20060104                                                  |
  |                                                                       |
  | Copyright (C) 2005, RoundCube Dev. - Switzerland                      |
  | Licensed under the GNU GPL                                            |
@@ -40,6 +40,9 @@
  $Id$
 
 */
+
+define('RCMAIL_VERSION', '0.1-20060104');
+
 
 // define global vars
 $INSTALL_PATH = dirname($_SERVER['SCRIPT_FILENAME']);
@@ -240,6 +243,15 @@
 
   if ($_action=='addcontact')
     include('program/steps/mail/addcontact.inc');
+
+  if ($_action=='expunge')
+    include('program/steps/mail/folders.inc');
+
+  if ($_action=='check-recent')
+    include('program/steps/mail/check_recent.inc');
+
+  if ($_action=='getunread')
+    include('program/steps/mail/getunread.inc');
     
   if ($_action=='list' && $_GET['_remote'])
     include('program/steps/mail/list.inc');

--
Gitblit v1.9.1