aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/index.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2004-03-06 17:43:32 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2004-03-06 17:43:32 +0000
commitc235dced700cd0223ac36880a25ff25110d8d6f4 (patch)
tree91ff6f592c8cc168c7db517a8bf3e4eadca960a4 /phpBB/adm/index.php
parent635d18d279769cfc48ecf1b83e717d3149b663d1 (diff)
downloadforums-c235dced700cd0223ac36880a25ff25110d8d6f4.tar
forums-c235dced700cd0223ac36880a25ff25110d8d6f4.tar.gz
forums-c235dced700cd0223ac36880a25ff25110d8d6f4.tar.bz2
forums-c235dced700cd0223ac36880a25ff25110d8d6f4.tar.xz
forums-c235dced700cd0223ac36880a25ff25110d8d6f4.zip
show correct login screen (accessing /adm while logged out)
git-svn-id: file:///svn/phpbb/trunk@4860 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/adm/index.php')
-rw-r--r--phpBB/adm/index.php4
1 files changed, 2 insertions, 2 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> &nbsp; &nbsp; &nbsp;</td>
</tr>
</table>