aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-07 21:57:37 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-07 21:57:37 +0000
commit59071bb6641c64567bc1d4ed75c515f991e259a9 (patch)
treeeb503439ef31a57c0ae3bc26972325d7baeab0c9
parent3361c73a30ff20eae69a736dab0f9bc573cb540a (diff)
downloadelgg-59071bb6641c64567bc1d4ed75c515f991e259a9.tar.gz
elgg-59071bb6641c64567bc1d4ed75c515f991e259a9.tar.bz2
Closes #844 & #845: Override is now no longer forced on and so will now obey view cache settings.
git-svn-id: https://code.elgg.org/elgg/trunk@3125 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--_css/css.php2
-rw-r--r--_css/js.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/_css/css.php b/_css/css.php
index b079e5673..20d76a25f 100644
--- a/_css/css.php
+++ b/_css/css.php
@@ -32,7 +32,7 @@
$viewinput['view'] = 'css';
$viewinput['viewtype'] = $_GET['viewtype'];
- $override = true;
+ //$override = true;
header("Content-type: text/css", true);
header('Expires: ' . date('r',time() + 86400000), true);
diff --git a/_css/js.php b/_css/js.php
index 30613c18d..cfec5d91a 100644
--- a/_css/js.php
+++ b/_css/js.php
@@ -29,7 +29,7 @@
define('externalpage',true);
global $viewinput, $override;
- $override = true;
+ //$override = true;
$viewinput['view'] = 'js/' . $_GET['js'];
$viewinput['viewtype'] = $_GET['viewtype'];