From b723058fb08cd225f5ff440ac648a3c5dc33b35b Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Wed, 6 Aug 2003 15:45:13 +0000 Subject: 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 --- phpBB/style.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'phpBB/style.php') 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); } -- cgit v1.2.1