diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2014-01-03 15:18:32 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2014-01-03 15:18:32 +0100 |
commit | 2abcccb37180c17318f5226f5d4bc28f30b621ea (patch) | |
tree | 93d8241ee81c87e18494325ae02f0589a8e328a2 | |
parent | 9bc32632af80130ca6aff968b800ceb43aa86576 (diff) | |
parent | 52e3f58c728cc3d2dcc3208ffb6d0d5869cdc6d9 (diff) | |
download | wallabag-2abcccb37180c17318f5226f5d4bc28f30b621ea.tar.gz wallabag-2abcccb37180c17318f5226f5d4bc28f30b621ea.tar.zst wallabag-2abcccb37180c17318f5226f5d4bc28f30b621ea.zip |
Merge branch 'dev' of https://github.com/inthepoche/poche into dev
-rw-r--r-- | inc/poche/pochePictures.php | 6 |
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 | } |