silence is_writable() warnings. see #7640

git-svn-id: https://develop.svn.wordpress.org/trunk@9199 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-10-16 17:35:39 +00:00
parent 244db41e8d
commit 686555396e
1 changed files with 1 additions and 1 deletions

View File

@ -497,7 +497,7 @@ class wpdb {
$log_error = false;
$log_file = @ini_get('error_log');
if ( !empty($log_file) && ('syslog' != $log_file) && !is_writable($log_file) )
if ( !empty($log_file) && ('syslog' != $log_file) && !@is_writable($log_file) )
$log_error = false;
if ( $log_error )