| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * index.php |
| 5 | * |
| 6 | * Redirects to the login page. |
| 7 | * |
| 8 | * @copyright © 1999-2005 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 | '"<tt>config/config.php</tt>" 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 | |
| 25 | ?> |