From 9cc5d058145b5c986248fef192b4a61c24a02bd6 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 7 May 2009 00:29:55 +0000 Subject: Don't throw up a warning if we can't detect whether or not the logs dir is writable. --- core/config/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/config/config.php b/core/config/config.php index 1b8fc4bb..8274f9be 100644 --- a/core/config/config.php +++ b/core/config/config.php @@ -87,7 +87,7 @@ $config['log_threshold'] = 3; * Message logging directory. */ $config['log_directory'] = VARPATH . "logs"; -if (!is_writable($config['log_directory'])) { +if (@!is_writable($config['log_directory'])) { $config['log_threshold'] = 0; } -- cgit v1.2.3