mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-27 11:22:17 -05:00
Merge pull request #380 from F1reF0x/dev
Change Permissions in pochePictures.php
This commit is contained in:
commit
52e3f58c72
@ -84,12 +84,12 @@ function create_assets_directory($id)
|
|||||||
{
|
{
|
||||||
$assets_path = ABS_PATH;
|
$assets_path = ABS_PATH;
|
||||||
if(!is_dir($assets_path)) {
|
if(!is_dir($assets_path)) {
|
||||||
mkdir($assets_path, 0705);
|
mkdir($assets_path, 0715);
|
||||||
}
|
}
|
||||||
|
|
||||||
$article_directory = $assets_path . $id;
|
$article_directory = $assets_path . $id;
|
||||||
if(!is_dir($article_directory)) {
|
if(!is_dir($article_directory)) {
|
||||||
mkdir($article_directory, 0705);
|
mkdir($article_directory, 0715);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $article_directory;
|
return $article_directory;
|
||||||
|
Loading…
Reference in New Issue
Block a user