session_start();
if(!isset($logged_in)) {
+ set_up_language($squirrelmail_language, true);
echo _("You must login first.");
exit;
}
if(!isset($username) || !isset($key)) {
+ set_up_language($squirrelmail_language, true);
echo _("You need a valid user and password to access this page!");
exit;
}
+ if (!isset($i18n_php))
+ include("../functions/i18n.php");
if (!isset($config_php))
include("../config/config.php");
if (!isset($strings_php))
if ($where && $what) {
sqimap_mailbox_select($imapConnection, $mailbox);
sqimap_search($imapConnection, $where, $what, $mailbox, $color);
+ sqimap_mailbox_close($imapConnection);
}
do_hook("search_bottom");
sqimap_logout ($imapConnection);