From ddd899baed4b54ece6a59d4a2c83b7dcc8559af0 Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 10 Jun 2009 11:21:16 +0000 Subject: 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 --- engine/lib/cache.php | 1 + 1 file changed, 1 insertion(+) (limited to 'engine/lib/cache.php') 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"); -- cgit v1.2.3