Silence mkdir().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
24e2307445
commit
5be6242b23
@ -272,7 +272,7 @@ class WP_Object_Cache {
|
|||||||
|
|
||||||
// Make the base cache dir.
|
// Make the base cache dir.
|
||||||
if (!file_exists($this->cache_dir)) {
|
if (!file_exists($this->cache_dir)) {
|
||||||
if (!mkdir($this->cache_dir))
|
if (! @ mkdir($this->cache_dir))
|
||||||
return;
|
return;
|
||||||
@ chmod($this->cache_dir, $dir_perms);
|
@ chmod($this->cache_dir, $dir_perms);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user