]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
File cache attempts to create directory if it is not present.
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>
Wed, 10 Jun 2009 11:21:16 +0000 (11:21 +0000)
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>
Wed, 10 Jun 2009 11:21:16 +0000 (11:21 +0000)
git-svn-id: https://code.elgg.org/elgg/trunk@3324 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/cache.php

index 47319e7087c2f3a182cc5d84659dd7178d240708..70a8d49f21b14d747bfe8edbf8fc8fc480819676 100644 (file)
                                
                        // 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");