We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 609bd4b + 5f81ff0 commit 39f9f9cCopy full SHA for 39f9f9c
app/bootstrap.php
@@ -50,17 +50,6 @@
50
$mask = file_exists($umaskFile) ? octdec(file_get_contents($umaskFile)) : 002;
51
umask($mask);
52
53
-if (empty($_SERVER['ENABLE_IIS_REWRITES']) || ($_SERVER['ENABLE_IIS_REWRITES'] != 1)) {
54
- /*
55
- * Unset headers used by IIS URL rewrites.
56
- */
57
- unset($_SERVER['HTTP_X_REWRITE_URL']);
58
- unset($_SERVER['HTTP_X_ORIGINAL_URL']);
59
- unset($_SERVER['IIS_WasUrlRewritten']);
60
- unset($_SERVER['UNENCODED_URL']);
61
- unset($_SERVER['ORIG_PATH_INFO']);
62
-}
63
-
64
if (
65
(!empty($_SERVER['MAGE_PROFILER']) || file_exists(BP . '/var/profiler.flag'))
66
&& isset($_SERVER['HTTP_ACCEPT'])
0 commit comments