Problem with session_register fixed.
This commit is contained in:
parent
eef73e5ce8
commit
4604438e7f
|
@ -40,8 +40,8 @@ if($action == "checklogin")
|
|||
$result = $ldap->connect($username,$passwd);
|
||||
if($result == True) // Username/password correct. Doing some configuration and loading main Frame.
|
||||
{
|
||||
session_register($ldap); // Register $ldap object in session
|
||||
session_register($language); // Register $language in session
|
||||
session_register(ldap); // Register $ldap object in session
|
||||
session_register(language); // Register $language in session
|
||||
|
||||
// setting language
|
||||
$language = explode(":", $language);
|
||||
|
|
Loading…
Reference in New Issue