projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2338cc
)
Shout: Enable output compression
author
Ben Klang
<ben@alkaloid.net>
Sat, 9 Jan 2010 18:21:10 +0000
(13:21 -0500)
committer
Ben Klang
<ben@alkaloid.net>
Sat, 9 Jan 2010 18:21:10 +0000
(13:21 -0500)
shout/lib/Application.php
patch
|
blob
|
history
diff --git
a/shout/lib/Application.php
b/shout/lib/Application.php
index
bebae9f
..
b29e1c0
100644
(file)
--- a/
shout/lib/Application.php
+++ b/
shout/lib/Application.php
@@
-82,6
+82,11
@@
class Shout_Application extends Horde_Registry_Application
}
$_SESSION['shout']['context'] = $context;
+
+ /* Start compression. */
+ if (!Horde_Util::nonInputVar('no_compress')) {
+ Horde::compressOutput();
+ }
}
}