Commit 5b0e2bba authored by Chris Graham's avatar Chris Graham

Fixed MANTIS-4038 (Static caching may interfere with iTunes detection for RSS feed)

parent 1b70be0c
...@@ -32,8 +32,10 @@ global $FORCE_INVISIBLE_GUEST; ...@@ -32,8 +32,10 @@ global $FORCE_INVISIBLE_GUEST;
$FORCE_INVISIBLE_GUEST = false; $FORCE_INVISIBLE_GUEST = false;
global $EXTERNAL_CALL; global $EXTERNAL_CALL;
$EXTERNAL_CALL = false; $EXTERNAL_CALL = false;
global $STATIC_CACHE_ENABLED; if ((empty($_SERVER['HTTP_USER_AGENT'])) || (stripos($_SERVER['HTTP_USER_AGENT'], 'itunes') === false)) {
$STATIC_CACHE_ENABLED = true; global $STATIC_CACHE_ENABLED;
$STATIC_CACHE_ENABLED = true;
}
global $IN_SELF_ROUTING_SCRIPT; global $IN_SELF_ROUTING_SCRIPT;
$IN_SELF_ROUTING_SCRIPT = true; $IN_SELF_ROUTING_SCRIPT = true;
if (!is_file($FILE_BASE . '/sources/global.php')) { if (!is_file($FILE_BASE . '/sources/global.php')) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment