mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-09 00:55:23 +02:00
It's going to be one of those days ...
git-svn-id: file:///svn/phpbb/trunk@4322 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
e412b8da40
commit
af1cc18e02
@ -62,7 +62,7 @@ if (!empty($_GET['id']) && !empty($_GET['sid']))
|
|||||||
|
|
||||||
$sql = "SELECT session_id
|
$sql = "SELECT session_id
|
||||||
FROM {$table_prefix}sessions
|
FROM {$table_prefix}sessions
|
||||||
WHERE session_id = '" . ((!get_magic_quotes_gpc()) ? $db->sql_escape($sid) : $sid . "'";
|
WHERE session_id = '" . ((!get_magic_quotes_gpc()) ? $db->sql_escape($sid) : $sid) . "'";
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
|
|
||||||
if ($db->sql_fetchrow($result))
|
if ($db->sql_fetchrow($result))
|
||||||
@ -75,7 +75,7 @@ if (!empty($_GET['id']) && !empty($_GET['sid']))
|
|||||||
if ($row = $db->sql_fetchrow($result2))
|
if ($row = $db->sql_fetchrow($result2))
|
||||||
{
|
{
|
||||||
header('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', time() + 3600));
|
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['css_data'];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user