diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-07-26 15:51:11 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-07-26 15:51:11 +0000 |
commit | a43ead8ee7db832871db9cd2c4f294108398f4b0 (patch) | |
tree | 417710b9e382752ac1f815633e67f73cdc7e3fe0 /phpBB/adm/index.php | |
parent | 599a5964c064978b15653b05c4709f2c72943bb2 (diff) | |
download | forums-a43ead8ee7db832871db9cd2c4f294108398f4b0.tar forums-a43ead8ee7db832871db9cd2c4f294108398f4b0.tar.gz forums-a43ead8ee7db832871db9cd2c4f294108398f4b0.tar.bz2 forums-a43ead8ee7db832871db9cd2c4f294108398f4b0.tar.xz forums-a43ead8ee7db832871db9cd2c4f294108398f4b0.zip |
do not get too excited
git-svn-id: file:///svn/phpbb/trunk@7954 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/adm/index.php')
-rw-r--r-- | phpBB/adm/index.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php index ce8a54d6de..f99a2f8a73 100644 --- a/phpBB/adm/index.php +++ b/phpBB/adm/index.php @@ -15,7 +15,7 @@ define('ADMIN_START', true); define('NEED_SID', true); // Include files -$phpbb_root_path = './../'; +$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); require($phpbb_root_path . 'common.' . $phpEx); require($phpbb_root_path . 'includes/functions_admin.' . $phpEx); @@ -141,6 +141,8 @@ function adm_page_header($page_title) 'S_USER_LANG' => $user->lang['USER_LANG'], 'S_CONTENT_DIRECTION' => $user->lang['DIRECTION'], 'S_CONTENT_ENCODING' => 'UTF-8', + 'S_CONTENT_FLOW_BEGIN' => ($user->lang['DIRECTION'] == 'ltr') ? 'left' : 'right', + 'S_CONTENT_FLOW_END' => ($user->lang['DIRECTION'] == 'ltr') ? 'right' : 'left', )); // application/xhtml+xml not used because of IE |