Skip to content

Commit b9f1e61

Browse files
committed
MAGETWO-64515: change comment in file due to PR risk
1 parent 84d382b commit b9f1e61

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

phpserver/router.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,10 @@
3232
echo 'debug: '.$val.PHP_EOL.'<br/>'.PHP_EOL;
3333
};
3434

35-
/**
36-
* Caution, this is very experimental stuff
37-
* no guarantee for working result
38-
* has tons of potential big security holes
39-
*/
35+
/* Note: the code below is experimental and not intended to be used outside development environment.
36+
The code is protected against running outside of PHP built-in web server. */
4037

4138
if (php_sapi_name() === 'cli-server') {
42-
4339
$debug($_SERVER["REQUEST_URI"]);
4440
if (preg_match('/^\/(index|get|static)\.php(\/)?/', $_SERVER["REQUEST_URI"])) {
4541
return false; // serve the requested resource as-is.

0 commit comments

Comments
 (0)