BC
authorJan Schneider <jan@horde.org>
Mon, 3 Aug 2009 16:33:12 +0000 (18:33 +0200)
committerJan Schneider <jan@horde.org>
Mon, 3 Aug 2009 16:33:12 +0000 (18:33 +0200)
framework/Core/lib/Horde.php

index 6414686..791c7b0 100644 (file)
@@ -285,7 +285,7 @@ HTML;
     {
         global $conf;
 
-        $driver = empty($conf['cachejs'])
+        $driver = empty($conf['cachejs']) || $conf['cachejs'] == 'none'
             ? 'none'
             : $conf['cachejsparams']['driver'];
         $hsf = Horde_Script_Files::singleton();
@@ -1657,7 +1657,7 @@ HTML;
             $css = array_merge($css, $options['additional']);
         }
 
-        $cache_type = empty($conf['cachecss'])
+        $cache_type = empty($conf['cachecss']) || $conf['cachecss'] == 'none'
             ? 'none'
             : $conf['cachecss'];