Silence mkdir().
git-svn-id: https://develop.svn.wordpress.org/trunk@3194 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e53912a4dd
commit
07c03bb2f3
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user