add labels to login page
[squirrelmail.git] / index.php
1 <?php
2
3 /**
4 * index.php
5 *
6 * Redirects to the login page.
7 *
8 * @copyright &copy; 1999-2009 The SquirrelMail Project Team
9 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
10 * @version $Id$
11 * @package squirrelmail
12 */
13
14 // Are we configured yet?
15 if( ! file_exists ( 'config/config.php' ) ) {
16 echo '<html><body><p><strong>ERROR:</strong> Config file ' .
17 '&quot;<tt>config/config.php</tt>&quot; not found. You need to ' .
18 'configure SquirrelMail before you can use it.</p></body></html>';
19 exit;
20 }
21
22 // If we are, go ahead to the login page.
23 header('Location: src/login.php');
24