#42340PHP warning in t3lib/compressor
Description
When updating from TYPO3 4.7.4 to 4.7.5 there is PHP warning when using the TV page module:
PHP Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/home/www/webxxx/html/my_website/typo3/../../../../typo3/../typo3temp/sprites/zextensions.css) is not within the allowed path(s): (/home/www/web114/html/:/home/www/webxxx/phptmp/:/home/www/web114/files/:/home/www/webxxx/atd/:/usr/local/php5.3/lib/php/:/usr/local/php5.3/pear/) in /home/www/webxxx/html/typo3_src-4.7.5/t3lib/class.t3lib_compressor.php line 509
The path is totally messed up because of this. Its caused by an addition in t3lib\class.t3lib_compressor.php in line 508
// if the file is from a special TYPO3 internal directory, add the missing typo3/ prefix
if (is_file(PATH_site . TYPO3_mainDir . $filename)) {
$filename = TYPO3_mainDir . $filename;
}
Im not sure why this addition has been made but the error is similar to #25146
The change was done here: http://git.typo3.org/TYPO3v4/Core.git?a=commitdiff;h=8323f6b9526c261d8280de6c42d74e9c75fe6697;hp=ffd7794161ae645bbf740bee696fe9f4aef7a319
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.