patch for horde/admin/css/index.php

Atif Ghaffar aghaffar@developer.ch
Sat, 29 Dec 2001 15:20:19 +0100


Please apply the following patch.
It handles the if ($browser->hasQuirk) ... etc

thanks


diff -u -r1.1 index.php
--- index.php   2001/05/27 22:47:35     1.1
+++ index.php   2001/12/29 14:13:23
@@ -1,6 +1,6 @@
  <?php

-require_once '../../lib/Horde.php';
+require_once '../../lib/base.php';
  $file = Horde::getFormData('file');
  $style = Horde::getFormData('style');

@@ -97,7 +97,7 @@



-if ($mode == "generate") {
+if (isset($mode) && $mode == "generate") {
     if (@is_writable($file)){
        foreach ($HTTP_POST_VARS as $var => $val){