* Got bored and copied all the validate.php and define() stuff to 1.1
[squirrelmail.git] / src / empty_trash.php
index d46280142f853dbe3fbf1acea732e481517396de..6605b52a391fd1f8c973c6d62b27af2162364a8b 100644 (file)
     **  $Id$
     **/
 
-   session_start();
-
+   include('../src/validate.php');
    include("../functions/strings.php");
    include("../config/config.php");
    include("../functions/page_header.php");
    include("../functions/display_messages.php");
    include("../functions/imap.php");
-   if (!function_exists("ary_sort"))
-      include("../functions/array.php");
-
-   if (!isset($tree_php))
-      include("../functions/tree.php");
-
+   include("../functions/array.php");
+   include("../functions/tree.php");
    include("../src/load_prefs.php");
 
    $imap_stream = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);