cvs: phpweb / mirror-info.php
| From: | Gabor Hojtsy | Date: | Thu, 14 Aug 2003 13:40:03 +0000 |
| Subject: | cvs: phpweb / mirror-info.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-20292@lists.php.net to get a copy of this message | ||
goba Thu Aug 14 09:40:03 2003 EDT
Modified files:
/phpweb mirror-info.php
Log:
Use text/plain type here for better readability in browsers, when
human intervention is needed
Index: phpweb/mirror-info.php
diff -u phpweb/mirror-info.php:1.12 phpweb/mirror-info.php:1.13
--- phpweb/mirror-info.php:1.12 Fri Aug 8 06:17:55 2003
+++ phpweb/mirror-info.php Thu Aug 14 09:40:02 2003
@@ -3,6 +3,9 @@
// Define $MYSITE and $LAST_UPDATED variables
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
+// Text/plain content type for better readability in browsers
+header("Content-type: text/plain;charset=ISO-8859-1");
+
// Try to find out if local search is possible
unset($htsearch_prog);
if (file_exists("configuration.inc")) {