diff --git a/gulliver/system/class.bootstrap.php b/gulliver/system/class.bootstrap.php index 7b66eb1da..4caee1767 100644 --- a/gulliver/system/class.bootstrap.php +++ b/gulliver/system/class.bootstrap.php @@ -569,7 +569,7 @@ class Bootstrap * @param string $downloadFileName * @return string */ - public function streamFile($file, $download = false, $downloadFileName = '') + public function streamFile($file, $download = false, $downloadFileName = '', $forceLoad = false) { $fileNameIni = $file; @@ -596,7 +596,7 @@ class Bootstrap } //trick to generate the big css file for ext style . - if (strtolower($typefile) == 'css' && $folderarray[count($folderarray) - 2] == 'css') { + if (strtolower($typefile) == 'css' && $folderarray[count($folderarray) - 2] == 'css' && ! $forceLoad) { Bootstrap::sendHeaders($fileNameIni, "text/css", $download, $downloadFileName); $output = Bootstrap::streamCSSBigFile($typearray[0]); echo $output; diff --git a/workflow/public_html/sysGeneric.php b/workflow/public_html/sysGeneric.php index b8e5219ff..068dfa17f 100755 --- a/workflow/public_html/sysGeneric.php +++ b/workflow/public_html/sysGeneric.php @@ -386,7 +386,7 @@ if (Bootstrap::virtualURI( $_SERVER['REQUEST_URI'], $virtualURITable, $realPath //NewRelic Snippet - By JHL transactionLog($pluginFilename); - Bootstrap::streamFile( $pluginFilename ); + Bootstrap::streamFile( $pluginFilename, false, '', true ); } die(); }