From: marcus Date: Wed, 10 Jun 2009 11:21:16 +0000 (+0000) Subject: File cache attempts to create directory if it is not present. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ddd899baed4b54ece6a59d4a2c83b7dcc8559af0;p=lorea%2Felgg.git File cache attempts to create directory if it is not present. git-svn-id: https://code.elgg.org/elgg/trunk@3324 36083f99-b078-4883-b0ff-0f9b5a30f544 --- diff --git a/engine/lib/cache.php b/engine/lib/cache.php index 47319e708..70a8d49f2 100644 --- a/engine/lib/cache.php +++ b/engine/lib/cache.php @@ -313,6 +313,7 @@ // Create full path $path = $this->get_variable("cache_path") . $matrix; + mkdir($path, 0700, true); // if (!mkdir($path, 0700, true)) throw new IOException("Could not make $path");