aboutsummaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authorWojciech Polak <polak@gnu.org>2010-04-09 17:46:47 +0200
committerWojciech Polak <polak@gnu.org>2010-04-09 17:46:47 +0200
commit5b36ef42d675891b69a8d808042ec735f5b7cc46 (patch)
treeb3f7d8a2f04823851a489aabfb1333b38b7b3c9b /frontend
parent572bbea97e33ecffba68b348a63af71577dd27cb (diff)
downloadcheetah-5b36ef42d675891b69a8d808042ec735f5b7cc46.tar.gz
cheetah-5b36ef42d675891b69a8d808042ec735f5b7cc46.tar.bz2
Remove gzip (Apache 1).
Diffstat (limited to 'frontend')
-rw-r--r--frontend/d.php1
-rw-r--r--frontend/export.php1
-rw-r--r--frontend/fetch.php1
-rw-r--r--frontend/help/kshortcuts.php1
-rw-r--r--frontend/htaccess7
-rw-r--r--frontend/lib/gz.php24
-rw-r--r--frontend/marker.php1
-rw-r--r--frontend/notes.php1
-rw-r--r--frontend/rd.php1
-rw-r--r--frontend/reader.php1
-rw-r--r--frontend/translate.php1
-rw-r--r--frontend/weather.php1
-rw-r--r--frontend/xnotes.php1
13 files changed, 0 insertions, 42 deletions
diff --git a/frontend/d.php b/frontend/d.php
index 9368307..83adc56 100644
--- a/frontend/d.php
+++ b/frontend/d.php
@@ -19,7 +19,6 @@
with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-include 'lib/gz.php';
require 'lib/include.php';
$copyright = "/*
diff --git a/frontend/export.php b/frontend/export.php
index 9cf9b49..b12ab7c 100644
--- a/frontend/export.php
+++ b/frontend/export.php
@@ -19,7 +19,6 @@
with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-include 'lib/gz.php';
require 'lib/include.php';
start_session (null, false);
diff --git a/frontend/fetch.php b/frontend/fetch.php
index 5f294c4..8374713 100644
--- a/frontend/fetch.php
+++ b/frontend/fetch.php
@@ -18,7 +18,6 @@
with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-include 'lib/gz.php';
require 'lib/include.php';
require 'lib/feed.class.php';
diff --git a/frontend/help/kshortcuts.php b/frontend/help/kshortcuts.php
index 62e15dd..2e40dec 100644
--- a/frontend/help/kshortcuts.php
+++ b/frontend/help/kshortcuts.php
@@ -18,7 +18,6 @@
with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-include '../lib/gz.php';
include '../lib/include.php';
start_session (null, false);
$session->auth ('iflogged');
diff --git a/frontend/htaccess b/frontend/htaccess
index 8c2d281..595b9cb 100644
--- a/frontend/htaccess
+++ b/frontend/htaccess
@@ -1,10 +1,3 @@
-<IfDefine !APACHE2>
- <IfModule mod_headers.c>
- ErrorHeader unset Content-Location
- ErrorHeader unset Vary
- ErrorHeader unset TCN
- </IfModule>
-</IfDefine>
<IfDefine APACHE2>
<IfModule mod_headers.c>
Header always unset Content-Location
diff --git a/frontend/lib/gz.php b/frontend/lib/gz.php
deleted file mode 100644
index bcc236c..0000000
--- a/frontend/lib/gz.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-/*
- Cheetah News lib/gz.php
- Copyright (C) 2005 Wojciech Polak.
-
- This program is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 3 of the License, or (at your
- option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License along
- with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-if (!ereg ("^apache2", @php_sapi_name ()))
- ob_start ('ob_gzhandler');
-
-?>
diff --git a/frontend/marker.php b/frontend/marker.php
index 48d4ae5..2bb471b 100644
--- a/frontend/marker.php
+++ b/frontend/marker.php
@@ -18,7 +18,6 @@
with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-include 'lib/gz.php';
require 'lib/include.php';
start_session (null);
diff --git a/frontend/notes.php b/frontend/notes.php
index e9452b2..1492ed4 100644
--- a/frontend/notes.php
+++ b/frontend/notes.php
@@ -18,7 +18,6 @@
with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-include 'lib/gz.php';
require 'lib/functions.php';
require 'lib/mysql.class.php';
require 'lib/local.php';
diff --git a/frontend/rd.php b/frontend/rd.php
index f2ca457..0cb2e7e 100644
--- a/frontend/rd.php
+++ b/frontend/rd.php
@@ -18,7 +18,6 @@
with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-include 'lib/gz.php';
require 'lib/include.php';
$feedurl = '';
diff --git a/frontend/reader.php b/frontend/reader.php
index b85b606..eaef9b6 100644
--- a/frontend/reader.php
+++ b/frontend/reader.php
@@ -18,7 +18,6 @@
with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-include 'lib/gz.php';
require 'lib/include.php';
start_session (null);
diff --git a/frontend/translate.php b/frontend/translate.php
index ddf2ad7..59b2e77 100644
--- a/frontend/translate.php
+++ b/frontend/translate.php
@@ -18,7 +18,6 @@
with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-include 'lib/gz.php';
require 'lib/include.php';
require 'lib/json.php';
diff --git a/frontend/weather.php b/frontend/weather.php
index 474afb2..f2286fe 100644
--- a/frontend/weather.php
+++ b/frontend/weather.php
@@ -18,7 +18,6 @@
with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-include 'lib/gz.php';
require 'lib/include.php';
getvars ('id');
diff --git a/frontend/xnotes.php b/frontend/xnotes.php
index 17025a7..5f2865d 100644
--- a/frontend/xnotes.php
+++ b/frontend/xnotes.php
@@ -18,7 +18,6 @@
with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-include 'lib/gz.php';
require 'lib/include.php';
start_session (null);

Return to:

Send suggestions and report system problems to the System administrator.