59177427 |
1 | <?php |
8863d46c |
2 | |
35586184 |
3 | /** |
e392edc2 |
4 | * index.php |
35586184 |
5 | * |
6 | * Redirects to the login page. |
7 | * |
33aab559 |
8 | * @copyright 1999-2024 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 |
15 | if( ! file_exists ( 'config/config.php' ) ) { |
e392edc2 |
16 | echo '<html><body><p><strong>ERROR:</strong> Config file ' . |
17 | '"<tt>config/config.php</tt>" 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. |
23 | header('Location: src/login.php'); |
35586184 |
24 | |