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
mahara
mahara
Commits
6ff33511
Commit
6ff33511
authored
Aug 16, 2019
by
Robert Lyon
Committed by
Gerrit Code Review
Aug 16, 2019
Browse files
Merge "Bug 1794628: Allow config errors session setup to be right"
parents
d436f5ff
a38ddad4
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/errors.php
View file @
6ff33511
...
...
@@ -124,6 +124,7 @@ function log_environ ($message, $escape=true, $backtrace=true) {
function
log_message
(
$message
,
$loglevel
,
$escape
,
$backtrace
,
$file
=
null
,
$line
=
null
,
$trace
=
null
)
{
global
$SESSION
,
$CFG
;
if
(
!
$SESSION
&&
function_exists
(
'get_config'
)
&&
$CFG
)
{
require_once
(
get_config
(
'docroot'
)
.
'auth/lib.php'
);
require_once
(
get_config
(
'docroot'
)
.
'auth/session.php'
);
$SESSION
=
Session
::
singleton
();
}
...
...
Write
Preview
Markdown
is supported
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