Fixed a redirection problem and a missing file.
parent
8e1ff15e5b
commit
f6e796fe24
|
@ -12,5 +12,5 @@ if (!$nwnadmin_configured) {
|
||||||
Horde_Test::configFilesMissing('NWNAdmin', NWNADMIN_BASE,
|
Horde_Test::configFilesMissing('NWNAdmin', NWNADMIN_BASE,
|
||||||
array('conf.php'));
|
array('conf.php'));
|
||||||
} else {
|
} else {
|
||||||
header('Location: ./start.php');
|
require NWNADMIN_BASE . '/start.php';
|
||||||
}
|
}
|
|
@ -12,7 +12,7 @@ $wait = false;
|
||||||
|
|
||||||
// no regular users allowed on this page
|
// no regular users allowed on this page
|
||||||
if (!Auth::isAdmin('nwnadmin:admin')) {
|
if (!Auth::isAdmin('nwnadmin:admin')) {
|
||||||
header('Location: ' . Horde::applicationUrl('server.php'));
|
header('Location: ./server.php');
|
||||||
}
|
}
|
||||||
|
|
||||||
// hack the page if the server is not configured
|
// hack the page if the server is not configured
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<table id="menu" width="100%" cellpadding="0" cellspacing="0" border="0">
|
<table id="menu" width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||||
<tr><td align="center"><?php echo Horde::img('banner.png', _("Banner"), '', $GLOBALS['registry']->getImageDir('penguincoder')) ?></td></tr>
|
<tr><td align="center"><?php echo Horde::img('banner.png', _("Banner")) ?></td></tr>
|
||||||
<tr><td><?php echo NWNAdmin::getMenu('string') ?></td></tr></table>
|
<tr><td><?php echo NWNAdmin::getMenu('string') ?></td></tr></table>
|
||||||
<br class="spacer"/>
|
<br class="spacer"/>
|
||||||
<?php $GLOBALS['notification']->notify(array('listeners' => 'status')) ?>
|
<?php $GLOBALS['notification']->notify(array('listeners' => 'status')) ?>
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 62 KiB |
Reference in New Issue