diff options
Diffstat (limited to 'phpBB/adm')
| -rw-r--r-- | phpBB/adm/index.php | 4 | ||||
| -rw-r--r-- | phpBB/adm/pagestart.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php index 6915a68ae6..ae825fa697 100644 --- a/phpBB/adm/index.php +++ b/phpBB/adm/index.php @@ -13,7 +13,7 @@ define('IN_PHPBB', 1); // Include files -$phpbb_root_path = '../'; +$phpbb_root_path = './../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); require('pagestart.' . $phpEx); @@ -35,7 +35,7 @@ if ($pane == 'top') <table width="100%" cellspacing="0" cellpadding="0" border="0"> <tr> - <td><a href="<?php echo "../index.$phpEx$SID"; ?>" target="_top"><img src="images/header_left.jpg" width="200" height="60" alt="phpBB Logo" title="phpBB Logo" border="0"/></a></td> + <td><a href="<?php echo "{$phpbb_root_path}index.$phpEx$SID"; ?>" target="_top"><img src="images/header_left.jpg" width="200" height="60" alt="phpBB Logo" title="phpBB Logo" border="0"/></a></td> <td width="100%" background="images/header_bg.jpg" height="60" align="right" nowrap="nowrap"><span class="maintitle"><?php echo $user->lang['ADMIN_TITLE']; ?></span> </td> </tr> </table> diff --git a/phpBB/adm/pagestart.php b/phpBB/adm/pagestart.php index 2f4fe66d1b..20ffec69e0 100644 --- a/phpBB/adm/pagestart.php +++ b/phpBB/adm/pagestart.php @@ -36,7 +36,7 @@ $user->setup('admin'); // Did user forget to login? Give 'em a chance to here ... if ($user->data['user_id'] == ANONYMOUS) { - login_box("index.$phpEx$SID", '', $user->lang['LOGIN_ADMIN']); + login_box("adm/index.$phpEx$SID", '', $user->lang['LOGIN_ADMIN']); } $auth->acl($user->data); |
