aboutsummaryrefslogtreecommitdiff
path: root/p
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-03-24 19:16:09 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-03-24 19:16:09 +0100
commitfd829d75676a07a13a635db037efa92e364026a7 (patch)
treec34cba1f3d738ed3eeef87221c46f35892f9eb30 /p
parent5081ffaf39699398f83be97e47b72444e5bcd5d1 (diff)
Constant to enable PHP compression
https://github.com/marienfressinaud/FreshRSS/issues/303#issuecomment-38477994
Diffstat (limited to 'p')
-rwxr-xr-xp/i/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/i/index.php b/p/i/index.php
index 187bbabe8..4afffb3dd 100755
--- a/p/i/index.php
+++ b/p/i/index.php
@@ -35,7 +35,7 @@ if (file_exists ('install.php')) {
@filemtime(LOG_PATH . '/' . $currentUser . '.log'),
@filemtime(DATA_PATH . '/config.php')
);
- if (httpConditional($dateLastModification, 0, 0, false, false, true)) {
+ if (httpConditional($dateLastModification, 0, 0, false, PHP_COMPRESSION, true)) {
exit(); //No need to send anything
}
}