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:
parent
244db41e8d
commit
686555396e
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user