Skip to content
Browse files

Remove undocumented magic features for IIS.

Undocumented, untested features break very easily. It is best to not
have them where possible.
  • Loading branch information...
1 parent 4671f23 commit fe809cd85d9281018036f4e0a3bb5329d8a51f4d @markstory markstory committed
Showing with 0 additions and 5 deletions.
  1. +0 −5 lib/Cake/basics.php
View
5 lib/Cake/basics.php
@@ -320,11 +320,6 @@ function env($key) {
}
switch ($key) {
- case 'SCRIPT_FILENAME':
- if (defined('SERVER_IIS') && SERVER_IIS === true) {
- return str_replace('\\\\', '\\', env('PATH_TRANSLATED'));
- }
- break;
case 'DOCUMENT_ROOT':
$name = env('SCRIPT_NAME');
$filename = env('SCRIPT_FILENAME');

0 comments on commit fe809cd

Please sign in to comment.
Something went wrong with that request. Please try again.