Author: jorisaerts+mwbz
Description:
Since rev 72797 I get the following error (results in vector skin only showing plain text in Chrome)
<b>Warning</b>: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/wiki/skins/common/images/add.png) is not within the allowed path(s): (/var/www/vhosts/xxxxxxxx.nl/httpdocs:/tmp) in <b>/var/www/vhosts/xxxxxxxx.nl/httpdocs/wiki/includes/libs/CSSMin.php</b> on line <b>69</b><br />
Which is:
$file = ( isset( $path ) ? rtrim( $path, '/' ) . '/' : '' ) . "{$match['file'][0]}";
replacing '' with './' seems to resolve it but I dont know if this is a proper workaround.
Version: 1.17.x
Severity: normal