mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
git-svn-id: file:///svn/phpbb/trunk@7362 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c76a2cdfe8
commit
1de40e6839
1 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ if (!empty($load_extensions))
|
|||
$sid = (isset($_GET['sid'])) ? htmlspecialchars($_GET['sid']) : '';
|
||||
$id = (isset($_GET['id'])) ? intval($_GET['id']) : 0;
|
||||
|
||||
if (!ctype_alnum($sid))
|
||||
if (strspn($str, 'abcdefABCDEF0123456789') !== strlen($str))
|
||||
{
|
||||
$sid = '';
|
||||
}
|
||||
|
@ -129,7 +129,7 @@ if ($id && $sid)
|
|||
$cache->destroy('sql', STYLES_THEME_TABLE);
|
||||
}
|
||||
|
||||
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');
|
||||
|
||||
// Parse Theme Data
|
||||
|
|
Loading…
Add table
Reference in a new issue