Project

General

Profile

Bug #23193 » bug_15133.diff

Administrator Admin, 2010-07-15 18:33

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
(4-4/7)