Renaming "config_sample.php" to "config_default.php".
[squirrelmail.git] / index.php
CommitLineData
59177427 1<?php
8863d46c 2
35586184 3/**
e392edc2 4 * index.php
35586184 5 *
6 * Redirects to the login page.
7 *
47ccfad4 8 * @copyright &copy; 1999-2006 The SquirrelMail Project Team
e392edc2 9 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
10 * @version $Id$
11 * @package squirrelmail
35586184 12 */
8863d46c 13
e392edc2 14// Are we configured yet?
0da814b1 15if( ! file_exists ( 'config/config.php' ) ) {
e392edc2 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>';
0da814b1 19 exit;
20}
21
e392edc2 22// If we are, go ahead to the login page.
23header('Location: src/login.php');
35586184 24
e392edc2 25?>