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
f90c2bae
Commit
f90c2bae
authored
Nov 15, 2006
by
Nigel McNie
Committed by
Nigel McNie
Nov 15, 2006
Browse files
Remove the installed check, which is done in init.php now. Set autofocus to
'true', instead of the testing value.
parent
77a5317d
Changes
1
Show whitespace changes
Inline
Side-by-side
htdocs/index.php
View file @
f90c2bae
...
...
@@ -30,11 +30,6 @@ define('MENUITEM', 'home');
require
(
'init.php'
);
// check to see if we're installed...
if
(
!
get_config
(
'installed'
))
{
redirect
(
get_config
(
'wwwroot'
)
.
'admin/index.php'
);
}
// Check for whether the user is logged in, before processing the page. After
// this, we can guarantee whether the user is logged in or not for this page.
if
(
!
$SESSION
->
is_logged_in
())
{
...
...
@@ -45,7 +40,7 @@ if (!$SESSION->is_logged_in()) {
'action'
=>
''
,
'renderer'
=>
'div'
,
'submit'
=>
false
,
'autofocus'
=>
'login_password'
,
// only for testing for now
'autofocus'
=>
true
,
'elements'
=>
array
(
'login'
=>
array
(
'type'
=>
'fieldset'
,
...
...
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