From c113922bd6898511a14936b55cfddb98faded2ac Mon Sep 17 00:00:00 2001 From: Julio Cesar Laura Date: Wed, 26 Jun 2013 14:27:20 -0400 Subject: [PATCH] Validating error message for function "chmod" when is in the disable_functions list --- gulliver/system/class.g.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulliver/system/class.g.php b/gulliver/system/class.g.php index 48229d133..3a8ac7c82 100755 --- a/gulliver/system/class.g.php +++ b/gulliver/system/class.g.php @@ -4804,7 +4804,7 @@ class G } else { //first a raw permission check if(fileperms($file) != 33200) { - chmod ($file, 0660); + @chmod ($file, 0660); } } }