mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 00:01:27 +01:00
silence is_writable() warnings. see #7640
git-svn-id: http://svn.automattic.com/wordpress/trunk@9199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fdef1212ef
commit
b7ab2f2e3e
@ -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