OSDN Git Service

Remove compression feature
authorAkito Hachiya <s.beec1e@gmail.com>
Thu, 20 Oct 2016 03:03:00 +0000 (12:03 +0900)
committerumorigu <umorigu@gmail.com>
Sun, 23 Oct 2016 12:38:49 +0000 (21:38 +0900)
skin/pukiwiki.css.php
skin/tdiary.css.php

index 5f830f2..2bcfe49 100644 (file)
@@ -1,25 +1,19 @@
 <?php
-// PukiWiki - Yet another WikiWikiWeb clone.
-// $Id: pukiwiki.css.php,v 1.12 2005/10/12 13:06:27 henoheno Exp $
-// Copyright (C)
-//   2002-2005 PukiWiki Developers Team
-//   2001-2002 Originally written by yu-ji
-// License: GPL v2 or (at your option) any later version
-//
-// Default CSS
-
-// Send header
 header('Content-Type: text/css');
-$matches = array();
-if(ini_get('zlib.output_compression') && preg_match('/\b(gzip|deflate)\b/i', $_SERVER['HTTP_ACCEPT_ENCODING'], $matches)) {
-       header('Content-Encoding: ' . $matches[1]);
-       header('Vary: Accept-Encoding');
-}
-
-// Output CSS ----
 ?>
+
 @charset "UTF-8";
 
+/*!
+ * PukiWiki - Yet another WikiWikiWeb clone.
+ * Copyright (C)
+ *   2002-2016 PukiWiki Development Team
+ *   2001-2002 Originally written by yu-ji
+ * License: GPL v2 or (at your option) any later version
+ *
+ * Default CSS
+ */
+
 pre, dl, ol, p, blockquote { line-height:130%; }
 
 blockquote { margin-left:32px; }
index 393c35f..8c94d5c 100644 (file)
@@ -1,20 +1,13 @@
 <?php
 // PukiWiki - Yet another WikiWikiWeb clone.
-// $Id: tdiary.css.php,v 1.6 2005/05/01 02:43:27 henoheno Exp $
 // Copyright (C)
-//   2002-2005 PukiWiki Developers Team
+//   2002-2016 PukiWiki Development Team
 //   2001-2002 Originally written by yu-ji
 // License: GPL v2 or (at your option) any later version
 //
 // tDiary-css-wrapper
 
-// Send header
 header('Content-Type: text/css');
-$matches = array();
-if(ini_get('zlib.output_compression') && preg_match('/\b(gzip|deflate)\b/i', $_SERVER['HTTP_ACCEPT_ENCODING'], $matches)) {
-       header('Content-Encoding: ' . $matches[1]);
-       header('Vary: Accept-Encoding');
-}
 
 // Color theme
 $color_theme = isset($_GET['color']) ? $_GET['color'] : '';
@@ -86,6 +79,16 @@ default:
 ?>
 @charset "UTF-8";
 
+/*!
+ * PukiWiki - Yet another WikiWikiWeb clone.
+ * Copyright (C)
+ *   2002-2016 PukiWiki Development Team
+ *   2001-2002 Originally written by yu-ji
+ * License: GPL v2 or (at your option) any later version
+ *
+ * tDiary-css-wrapper
+ */
+
 /* ------------------------------------------ */
 /* PukiWiki abstruction CSS for tDiary themes */