summaryrefslogtreecommitdiffstats
path: root/third_party/lighttpd
diff options
context:
space:
mode:
authordeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-02 13:14:46 +0000
committerdeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-02 13:14:46 +0000
commit733470672f7de481552674e0582db3c759f6f861 (patch)
tree648ac83935c8d94a437a69c454d312d4933fae09 /third_party/lighttpd
parent5c76d265d7dc6eaa1ce8b8690f7d2077f8724953 (diff)
downloadchromium_src-733470672f7de481552674e0582db3c759f6f861.zip
chromium_src-733470672f7de481552674e0582db3c759f6f861.tar.gz
chromium_src-733470672f7de481552674e0582db3c759f6f861.tar.bz2
Remove getallheader() compat shim after upstream changes to use $_SERVER.
Review URL: http://codereview.chromium.org/12862 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6213 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/lighttpd')
-rw-r--r--third_party/lighttpd/win/php5/compat-shim.php16
-rw-r--r--third_party/lighttpd/win/php5/php.ini2
2 files changed, 0 insertions, 18 deletions
diff --git a/third_party/lighttpd/win/php5/compat-shim.php b/third_party/lighttpd/win/php5/compat-shim.php
deleted file mode 100644
index 95be9b4..0000000
--- a/third_party/lighttpd/win/php5/compat-shim.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-// This is a compat shim to make our php-cgi act more like apache mod_php.
-// http://www.qijoo.com/fapm/PHP/en/function.getallheaders.html
-// Well, sort of, lighttpd gives us headers like HTTP_UPPERCASE_WEE, and so
-// we do some ugly php to make that Uppercase-Wee...
-function getallheaders() {
- foreach($_SERVER as $name => $value) {
- if(substr($name, 0, 5) == 'HTTP_') {
- $name = strtolower(substr($name, 5));
- $name = join("-", array_map('ucwords', explode("_", $name)));
- $headers[$name] = $value;
- }
- }
- return $headers;
-}
-?>
diff --git a/third_party/lighttpd/win/php5/php.ini b/third_party/lighttpd/win/php5/php.ini
deleted file mode 100644
index 55d4f39..0000000
--- a/third_party/lighttpd/win/php5/php.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-include_path = "../third_party/lighttpd/win/php5/;../../third_party/lighttpd/win/php5/;../../../third_party/lighttpd/win/php5/;../../../../third_party/lighttpd/win/php5/;../../../../../third_party/lighttpd/win/php5/;../../../../../../third_party/lighttpd/win/php5/;../../../../../../../third_party/lighttpd/win/php5/;../../../../../../../../third_party/lighttpd/win/php5/;../../../../../../../../../third_party/lighttpd/win/php5/;"
-auto_prepend_file = "compat-shim.php"