projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45190d0
)
Make CSS compression configurable
author
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 4 Aug 2009 18:53:57 +0000
(12:53 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 4 Aug 2009 18:53:57 +0000
(12:53 -0600)
framework/Core/lib/Horde.php
patch
|
blob
|
history
diff --git
a/framework/Core/lib/Horde.php
b/framework/Core/lib/Horde.php
index
4031643
..
fdf9774
100644
(file)
--- a/
framework/Core/lib/Horde.php
+++ b/
framework/Core/lib/Horde.php
@@
-1709,9
+1709,11
@@
HTML;
}
/* Use CSS tidy to clean up file. */
- try {
- $out = Horde_Text_Filter::filter($out, 'csstidy');
- } catch (Horde_Exception $e) {}
+ if ($conf['cachecssparams']['compress'] == 'php') {
+ try {
+ $out = Horde_Text_Filter::filter($out, 'csstidy');
+ } catch (Horde_Exception $e) {}
+ }
switch ($cache_type) {
case 'filesystem':