From 07c03bb2f344d137a45ad9c348e2b09519d2025e Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 22 Nov 2005 07:45:07 +0000 Subject: [PATCH] Silence mkdir(). git-svn-id: https://develop.svn.wordpress.org/trunk@3194 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/cache.php b/wp-includes/cache.php index b113cc4723..a0d8c1259a 100644 --- a/wp-includes/cache.php +++ b/wp-includes/cache.php @@ -272,7 +272,7 @@ class WP_Object_Cache { // Make the base cache dir. if (!file_exists($this->cache_dir)) { - if (!mkdir($this->cache_dir)) + if (! @ mkdir($this->cache_dir)) return; @ chmod($this->cache_dir, $dir_perms); }