aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/pochePictures.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2014-01-07 04:20:23 -0800
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2014-01-07 04:20:23 -0800
commitb4b22940dfbb8b56422e244272d22b7741e6ce7c (patch)
tree4ab486d3f7dc77a3fab521faff8e72da8dd3de0b /inc/poche/pochePictures.php
parent60fc4f4b1ab37fbfe9021f3fa1395d66a4424ed2 (diff)
parente1cf0fda27df031e478e55d6df08823d42fe2220 (diff)
downloadwallabag-b4b22940dfbb8b56422e244272d22b7741e6ce7c.tar.gz
wallabag-b4b22940dfbb8b56422e244272d22b7741e6ce7c.tar.zst
wallabag-b4b22940dfbb8b56422e244272d22b7741e6ce7c.zip
Merge pull request #387 from inthepoche/dev1.3.1
poche 1.3.1
Diffstat (limited to 'inc/poche/pochePictures.php')
-rw-r--r--inc/poche/pochePictures.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/poche/pochePictures.php b/inc/poche/pochePictures.php
index 4e4a0b08..b0cfb9df 100644
--- a/inc/poche/pochePictures.php
+++ b/inc/poche/pochePictures.php
@@ -84,12 +84,12 @@ function create_assets_directory($id)
84{ 84{
85 $assets_path = ABS_PATH; 85 $assets_path = ABS_PATH;
86 if(!is_dir($assets_path)) { 86 if(!is_dir($assets_path)) {
87 mkdir($assets_path, 0705); 87 mkdir($assets_path, 0715);
88 } 88 }
89 89
90 $article_directory = $assets_path . $id; 90 $article_directory = $assets_path . $id;
91 if(!is_dir($article_directory)) { 91 if(!is_dir($article_directory)) {
92 mkdir($article_directory, 0705); 92 mkdir($article_directory, 0715);
93 } 93 }
94 94
95 return $article_directory; 95 return $article_directory;
@@ -107,4 +107,4 @@ function remove_directory($directory)
107 } 107 }
108 return rmdir($directory); 108 return rmdir($directory);
109 } 109 }
110} \ No newline at end of file 110}