summaryrefslogtreecommitdiff
path: root/manager/library/plugins/plugin.charsetheader.php
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2015-08-09 22:11:39 +0200
committerBenny Baumann <BenBE@geshi.org>2015-08-09 22:11:50 +0200
commitce38587c8459587d7a03002ebcb4427ed95fb85c (patch)
tree1a5d787189deb6b895ff6df7fe1bb2303f92961d /manager/library/plugins/plugin.charsetheader.php
parent2cbb6d9c9cea8624d474807857ba2f8c81352c15 (diff)
downloadcacert-mgr-ce38587c8459587d7a03002ebcb4427ed95fb85c.tar.gz
cacert-mgr-ce38587c8459587d7a03002ebcb4427ed95fb85c.tar.xz
cacert-mgr-ce38587c8459587d7a03002ebcb4427ed95fb85c.zip
bug 1396: Normalize Linefeed to Unix format in Repository
Diffstat (limited to 'manager/library/plugins/plugin.charsetheader.php')
-rw-r--r--manager/library/plugins/plugin.charsetheader.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/manager/library/plugins/plugin.charsetheader.php b/manager/library/plugins/plugin.charsetheader.php
index 57e4f50..b5c3357 100644
--- a/manager/library/plugins/plugin.charsetheader.php
+++ b/manager/library/plugins/plugin.charsetheader.php
@@ -1,13 +1,13 @@
-<?php
-/**
- * @author markus
- * $Id: plugin.charsetheader.php 13 2009-11-24 14:52:56Z markus $
- */
-class CharsetHeader extends Zend_Controller_Plugin_Abstract {
- public function preDispatch(Zend_Controller_Request_Abstract $request) {
- $response = $this->getResponse();
- if ($response->canSendHeaders() === true) {
- $response->setHeader('Content-Type', 'text/html; charset=utf-8');
- }
- }
-} \ No newline at end of file
+<?php
+/**
+ * @author markus
+ * $Id: plugin.charsetheader.php 13 2009-11-24 14:52:56Z markus $
+ */
+class CharsetHeader extends Zend_Controller_Plugin_Abstract {
+ public function preDispatch(Zend_Controller_Request_Abstract $request) {
+ $response = $this->getResponse();
+ if ($response->canSendHeaders() === true) {
+ $response->setHeader('Content-Type', 'text/html; charset=utf-8');
+ }
+ }
+}