Merge pull request #1955 from victorsl/BUG-12475
BUG 12475 "Request for the SYSGENERIC (Possible bug?)" SOLVED
This commit is contained in:
@@ -408,7 +408,9 @@ if (Bootstrap::virtualURI( $_SERVER['REQUEST_URI'], $virtualURITable, $realPath
|
||||
|
||||
//Get that path in array
|
||||
$paths = explode( PATH_SEP, $forQuery[0] );
|
||||
$fileToBeStreamed = str_replace( "/skin/", PATH_CUSTOM_SKINS, $_SERVER['REQUEST_URI'] );
|
||||
$url = (preg_match("/^(.*)\?.*$/", $_SERVER["REQUEST_URI"], $arrayMatch))? $arrayMatch[1] : $_SERVER["REQUEST_URI"];
|
||||
|
||||
$fileToBeStreamed = str_replace("/skin/", PATH_CUSTOM_SKINS, $url);
|
||||
|
||||
if (file_exists( $fileToBeStreamed )) {
|
||||
//NewRelic Snippet - By JHL
|
||||
|
||||
Reference in New Issue
Block a user