@@ -65,7 +65,7 @@ class Log
$exists = false;
}
$state = error_log($log, 3, $file);
- if (!$exists) {
+ if ($state && !$exists) {
@chmod($file, 0755);
@system('chmod -R 777 ' . $file);