Commit 37e0295c by Klimov Paul

Error prone `realpath()` call removed

parent 13bc95ae
...@@ -513,7 +513,7 @@ EOD; ...@@ -513,7 +513,7 @@ EOD;
$content = ''; $content = '';
foreach ($inputFiles as $file) { foreach ($inputFiles as $file) {
$content .= "/*** BEGIN FILE: $file ***/\n" $content .= "/*** BEGIN FILE: $file ***/\n"
. $this->adjustCssUrl(file_get_contents($file), dirname(realpath($file)), dirname(realpath($outputFile))) . $this->adjustCssUrl(file_get_contents($file), dirname(realpath($file)), dirname($outputFile))
. "/*** END FILE: $file ***/\n"; . "/*** END FILE: $file ***/\n";
} }
if (!file_put_contents($outputFile, $content)) { if (!file_put_contents($outputFile, $content)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment