changed main page loading

This commit is contained in:
Roland Gruber 2007-06-16 11:50:25 +00:00
parent 10ae47ab86
commit e909e5cd51
2 changed files with 9 additions and 1 deletions

View File

@ -397,7 +397,8 @@ if(!empty($_POST['checklogin']))
// logging // logging
logNewMessage(LOG_NOTICE, 'User ' . $_POST['username'] . ' successfully logged in.'); logNewMessage(LOG_NOTICE, 'User ' . $_POST['username'] . ' successfully logged in.');
// Load main frame // Load main frame
include("./main.php"); metaRefresh("./main.php");
die();
} }
else else
{ {

View File

@ -30,6 +30,13 @@ $Id$
/** LDAP attibute cache */ /** LDAP attibute cache */
include_once('../lib/cache.inc'); include_once('../lib/cache.inc');
/** config object */
include_once('../lib/config.inc');
// start session
startSecureSession();
setlanguage();
// create cache object // create cache object
if (!isset($_SESSION['cache'])) { if (!isset($_SESSION['cache'])) {