information about sqspell changes
[squirrelmail.git] / index.php
1 <?php
2
3 /**
4 * index.php -- Redirect to the login page.
5 *
6 * Copyright (c) 1999-2005 The SquirrelMail Project Team
7 * Licensed under the GNU GPL. For full terms see the file COPYING.
8 *
9 * Redirects to the login page.
10 *
11 * $Id$
12 */
13
14 // are we configured yet?
15 if( ! file_exists ( 'config/config.php' ) ) {
16 echo "<html><body><p><strong>ERROR:</strong> Config file \"<tt>config/config.php</tt>\" not found. " .
17 "You need to configure SquirrelMail before you can use it.</p></body></html>";
18 exit;
19 }
20
21 // if we are, go ahead to the login page.
22 header("Location: src/login.php\n\n");
23
24 ?>
25 <html></html>