Project

General

Profile

Bug #23193 » 15133.diff

Administrator Admin, 2010-07-15 18:11

View differences:

t3lib/class.t3lib_div.php 2010-07-15 18:04:53.980237720 +0200
public static function fixPermissions($path, $recursive = FALSE) {
if (TYPO3_OS != 'WIN') {
$result = FALSE;
$path = (!self::isAbsPath($path)) ? PATH_site . $path : $path;
if (self::isAllowedAbsPath($path)) {
if (@is_file($path)) {
// "@" is there because file is not necessarily OWNED by the user
(3-3/7)