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
1114045a
Commit
1114045a
authored
Oct 19, 2006
by
Nigel McNie
Committed by
Nigel McNie
Oct 19, 2006
Browse files
Fixed up whitespace. Added template hook.
parent
c58b2f04
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/admin/index.php
View file @
1114045a
...
@@ -28,17 +28,19 @@ define('INTERNAL',1);
...
@@ -28,17 +28,19 @@ define('INTERNAL',1);
require
(
dirname
(
dirname
(
__FILE__
))
.
'/init.php'
);
require
(
dirname
(
dirname
(
__FILE__
))
.
'/init.php'
);
$smarty
=
&
smarty
();
$smarty
=
smarty
();
$upgrades
=
check_upgrades
();
$upgrades
=
check_upgrades
();
if
(
isset
(
$upgrades
[
'core'
])
&&
!
empty
(
$upgrades
[
'core'
]
->
install
))
{
if
(
isset
(
$upgrades
[
'core'
])
&&
!
empty
(
$upgrades
[
'core'
]
->
install
))
{
$smarty
->
assign
(
'installing'
,
true
);
$smarty
->
assign
(
'installing'
,
true
);
$smarty
->
assign
(
'releaseargs'
,
array
(
$upgrades
[
'core'
]
->
torelease
,
$upgrades
[
'core'
]
->
to
));
$smarty
->
assign
(
'releaseargs'
,
array
(
$upgrades
[
'core'
]
->
torelease
,
$upgrades
[
'core'
]
->
to
));
$smarty
->
display
(
'admin/installgpl.tpl'
);
$smarty
->
display
(
'admin/installgpl.tpl'
);
exit
;
exit
;
}
}
// normal admin page starts here
// normal admin page starts here
?>
$smarty
->
display
(
'admin/index.tpl'
);
\ No newline at end of file
?>
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