1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-05 00:45:09 -05:00
This commit is contained in:
Nicolas Lœuillet 2014-01-03 15:18:32 +01:00
commit 2abcccb371

View File

@ -84,12 +84,12 @@ function create_assets_directory($id)
{
$assets_path = ABS_PATH;
if(!is_dir($assets_path)) {
mkdir($assets_path, 0705);
mkdir($assets_path, 0715);
}
$article_directory = $assets_path . $id;
if(!is_dir($article_directory)) {
mkdir($article_directory, 0705);
mkdir($article_directory, 0715);
}
return $article_directory;
@ -107,4 +107,4 @@ function remove_directory($directory)
}
return rmdir($directory);
}
}
}