aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-07-24 13:58:59 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-07-24 13:58:59 +0000
commit275f62a5bdab5fe41e03402bdb1951ccd2b45cb8 (patch)
tree881338b8f4f45f4dd36cfd30d2bb4b31d25408e3 /phpBB/includes/functions.php
parentbe3b51ae84737b8044aeb28d71e137d89dd21528 (diff)
downloadforums-275f62a5bdab5fe41e03402bdb1951ccd2b45cb8.tar
forums-275f62a5bdab5fe41e03402bdb1951ccd2b45cb8.tar.gz
forums-275f62a5bdab5fe41e03402bdb1951ccd2b45cb8.tar.bz2
forums-275f62a5bdab5fe41e03402bdb1951ccd2b45cb8.tar.xz
forums-275f62a5bdab5fe41e03402bdb1951ccd2b45cb8.zip
Changes for styling directory layout alterations
git-svn-id: file:///svn/phpbb/trunk@4325 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 3e1c36bb14..6d5c404121 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -1347,18 +1347,18 @@ function page_header($page_title = '')
'S_DISPLAY_PM' => (empty($config['privmsg_disable'])) ? 1 : 0,
'S_DISPLAY_MEMBERLIST' => (isset($auth)) ? $auth->acl_get('u_viewprofile') : 0,
- 'T_THEME_PATH' => 'styles/themes/' . $user->theme['primary']['theme_path'],
- 'T_STYLESHEET_LINK' => (!$user->theme['primary']['css_storedb']) ? 'styles/themes/' . $user->theme['primary']['theme_path'] . '/' . $user->theme['primary']['theme_name'] . '.css' : '',
+ 'T_THEME_PATH' => 'styles/' . $user->theme['primary']['theme_path'] . '/theme/',
+ 'T_STYLESHEET_LINK' => (!$user->theme['primary']['css_storedb']) ? 'styles/' . $user->theme['primary']['theme_path'] . '/theme/stylesheet.css' : "style.$phpEx?sid=$user->session_id&amp;id=" . $user->theme['primary']['theme_id'],
'T_THEME_DATA' => (!$user->theme['primary']['css_storedb']) ? '' : $user->theme['primary']['css_data'])
);
if (!empty($config['send_encoding']))
{
- header ('Content-type: text/html; charset: ' . $user->lang['ENCODING']);
+ header('Content-type: text/html; charset: ' . $user->lang['ENCODING']);
}
- header ('Cache-Control: private, no-cache="set-cookie", pre-check=0, post-check=0');
- header ('Expires: 0');
- header ('Pragma: no-cache');
+ header('Cache-Control: private, no-cache="set-cookie", pre-check=0, post-check=0');
+ header('Expires: 0');
+ header('Pragma: no-cache');
return;
}