mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-16 13:44:12 +02:00
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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user