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
logNewMessage(LOG_NOTICE, 'User ' . $_POST['username'] . ' successfully logged in.');
// Load main frame
include("./main.php");
metaRefresh("./main.php");
die();
}
else
{

View File

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