diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-05-07 00:29:55 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-05-07 00:29:55 +0000 |
commit | 9cc5d058145b5c986248fef192b4a61c24a02bd6 (patch) | |
tree | 8e2b1473352083b9da482bb0997ae0f107c29d6d | |
parent | a8879cfe89fca4e0fe20e19bb6e4551a08910487 (diff) |
Don't throw up a warning if we can't detect whether or not the logs dir is writable.
-rw-r--r-- | core/config/config.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |