information about ldap backend in cpw.
[squirrelmail.git] / index.php
CommitLineData
59177427 1<?php
8863d46c 2
35586184 3/**
0da814b1 4 * index.php -- Redirect to the login page.
35586184 5 *
6c84ba1e 6 * Copyright (c) 1999-2005 The SquirrelMail Project Team
35586184 7 * Licensed under the GNU GPL. For full terms see the file COPYING.
8 *
9 * Redirects to the login page.
10 *
11 * $Id$
12 */
8863d46c 13
0da814b1 14// are we configured yet?
15if( ! file_exists ( 'config/config.php' ) ) {
16 echo "<html><body><p><strong>ERROR:</strong> Config file \"<tt>config/config.php</tt>\" not found. " .
17 "You need to configure SquirrelMail before you can use it.</p></body></html>";
18 exit;
19}
20
21// if we are, go ahead to the login page.
b5534f7a 22header("Location: src/login.php\n\n");
35586184 23
43bfec11 24?>
0da814b1 25<html></html>