Validating error message for function "chmod" when is in the disable_functions list

This commit is contained in:
Julio Cesar Laura
2013-06-26 14:27:20 -04:00
parent 5caffe3b10
commit c113922bd6

View File

@@ -4804,7 +4804,7 @@ class G
} else {
//first a raw permission check
if(fileperms($file) != 33200) {
chmod ($file, 0660);
@chmod ($file, 0660);
}
}
}