Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fusiondirectory
Commits
1476aeb9
Commit
1476aeb9
authored
Mar 07, 2017
by
Côme Chilliet
Browse files
Fixes PHP errors in index.php after installing new plugins
parent
5f1d344b
Changes
1
Hide whitespace changes
Inline
Side-by-side
html/index.php
View file @
1476aeb9
...
...
@@ -321,6 +321,9 @@ class Index {
/* User might have its own language, re-run initLanguage */
initLanguage
();
/* Check that newly installed plugins have their configuration in the LDAP (needed before load_plist to avoid PHP errors of missing RDNs in config) */
$config
->
checkLdapConfig
();
/* We need a fully loaded plist and config to test account expiration */
session
::
global_un_set
(
'plist'
);
$plist
=
load_plist
();
...
...
@@ -346,8 +349,6 @@ class Index {
/* Not account expired or password forced change go to main page */
logging
::
log
(
'security'
,
'login'
,
''
,
array
(),
'User "'
.
static
::
$username
.
'" logged in successfully.'
);
session
::
global_set
(
'connected'
,
1
);
/* check that newly installed plugins have their configuration in the LDAP */
$config
->
checkLdapConfig
();
session
::
global_set
(
'DEBUGLEVEL'
,
$config
->
get_cfg_value
(
'DEBUGLEVEL'
));
header
(
'Location: main.php?global_check=1'
);
exit
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment