diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-08-06 15:45:13 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-08-06 15:45:13 +0000 |
commit | b723058fb08cd225f5ff440ac648a3c5dc33b35b (patch) | |
tree | 757a95deab50d86806eb5a18c4eb9f4ee673e650 /phpBB/style.php | |
parent | 76ace1d15461d98b693d7e7c905c0f5b9533c622 (diff) | |
download | forums-b723058fb08cd225f5ff440ac648a3c5dc33b35b.tar forums-b723058fb08cd225f5ff440ac648a3c5dc33b35b.tar.gz forums-b723058fb08cd225f5ff440ac648a3c5dc33b35b.tar.bz2 forums-b723058fb08cd225f5ff440ac648a3c5dc33b35b.tar.xz forums-b723058fb08cd225f5ff440ac648a3c5dc33b35b.zip |
A fair amount of additional working or semi-working stuff ... template stored db source (when appropriate), switch theme/templates between DB/filesystem (if available), import, upload templates, imagesets, themes (if available ... i.e. no safe mode), etc. still a fair amount of stuff to do but getting there ... take care using this, backup any themes/templates/imagesets before fiddling and let me know of issues
git-svn-id: file:///svn/phpbb/trunk@4343 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/style.php')
-rw-r--r-- | phpBB/style.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/style.php b/phpBB/style.php index ec0d3a289b..dad6b24a88 100644 --- a/phpBB/style.php +++ b/phpBB/style.php @@ -67,7 +67,7 @@ if (!empty($_GET['id']) && !empty($_GET['sid'])) if ($db->sql_fetchrow($result)) { - $sql = "SELECT css_data + $sql = "SELECT theme_data FROM {$table_prefix}styles_theme WHERE theme_id = $id"; $result2 = $db->sql_query($sql, 300); @@ -75,9 +75,9 @@ if (!empty($_GET['id']) && !empty($_GET['sid'])) if ($row = $db->sql_fetchrow($result2)) { header('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', time() + 3600)); - //header('Content-type: text/css'); + header('Content-type: text/css'); - echo $row['css_data']; + echo $row['theme_data']; } $db->sql_freeresult($result2); } |