Fix E_STRICT notice
[squirrelmail.git] / index.php
... / ...
CommitLineData
1<?php
2
3/**
4 * index.php
5 *
6 * Redirects to the login page.
7 *
8 * @copyright 1999-2012 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?
15if( ! 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.
23header('Location: src/login.php');
24