Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
mahara
mahara
Commits
1465b8ab
Commit
1465b8ab
authored
May 10, 2007
by
Donal McMullan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Logged in Users are created from the LiveUser object, and the session
object is a singleton
parent
51d6e34e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
htdocs/init.php
htdocs/init.php
+2
-2
No files found.
htdocs/init.php
View file @
1465b8ab
...
...
@@ -180,8 +180,8 @@ header('Content-type: text/html; charset=UTF-8');
// Only do authentication once we know the page theme, so that the login form
// can have the correct theming.
require
(
'auth/lib.php'
);
$SESSION
=
new
Session
;
$USER
=
new
User
(
$SESSION
);
$SESSION
=
Session
::
singleton
()
;
$USER
=
new
Live
User
();
// The installer does its own auth_setup checking, because some upgrades may
// break logging in and so need to allow no logins.
if
(
!
defined
(
'INSTALLER'
))
{
...
...
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