changed main page loading
This commit is contained in:
parent
10ae47ab86
commit
e909e5cd51
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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'])) {
|
||||||
|
|
Loading…
Reference in New Issue