From 2553257892464a09190fb7e4713cc760a1585d7e Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 6 Feb 2006 02:30:43 +0000 Subject: [PATCH] Need to send the right mime-types to make Gecko happy --- installer.css.php | 3 +++ printer.css.php | 3 +++ 2 files changed, 6 insertions(+) diff --git a/installer.css.php b/installer.css.php index 35344a7..a1dfcee 100755 --- a/installer.css.php +++ b/installer.css.php @@ -30,6 +30,9 @@ if (!isset($GLOBALS['isso:callback'])) $included = false; $path = (isset($_SERVER['SCRIPT_URL']) ? $_SERVER['SCRIPT_URL'] : $_SERVER['REQUEST_URI']); $GLOBALS['isso:callback']->webpath = dirname($path) . '/'; + + // Gecko browsers need this to display right + header("Content-Type: text/css"); } } diff --git a/printer.css.php b/printer.css.php index 1918beb..4baf7ab 100755 --- a/printer.css.php +++ b/printer.css.php @@ -30,6 +30,9 @@ if (!isset($GLOBALS['isso:callback'])) $included = false; $path = (isset($_SERVER['SCRIPT_URL']) ? $_SERVER['SCRIPT_URL'] : $_SERVER['REQUEST_URI']); $GLOBALS['isso:callback']->webpath = dirname($path) . '/'; + + // Gecko browsers need this to display right + header("Content-Type: text/css"); } } -- 2.43.5