From 5be6242b2350e934aeb06ea34e27008895a6ba37 Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 22 Nov 2005 07:45:07 +0000 Subject: [PATCH] Silence mkdir(). git-svn-id: http://svn.automattic.com/wordpress/trunk@3194 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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); }