]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
Create cacheUrl cacheInfo folder recursivelly
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 26 Mar 2017 01:17:12 +0000 (22:17 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 26 Mar 2017 01:17:12 +0000 (22:17 -0300)
data/templates/default/bookmarks.tpl.php

index 9b056508c3731a0111ee0e96baf425fa6bbb66e3..a2ff752b27ee10a7c16b7f25b69db777af8c7d75 100644 (file)
@@ -368,7 +368,7 @@ if ($currenttag!= '') {
 
         if ($retcode != 404) {
           if (!file_exists($cacheInfo .'/'. $assetHash)) {
-            mkdir($cacheInfo .'/'. $assetHash);
+            mkdir($cacheInfo .'/'. $assetHash, 0755, true);
           }
 
           touch($cacheInfo .'/'. $assetHash .'/hascache');