aboutsummaryrefslogtreecommitdiff
path: root/app/fn
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-04-29 02:23:29 +0200
committervincent-peugnet <v.peugnet@free.fr>2020-04-29 02:23:29 +0200
commit7370dee913a63a2f7d4bc09bd4e5605eac2eb382 (patch)
tree950a1fc6997daf4a3e3aae778ca3ed6f7f835ede /app/fn
parent3075127e848150da8b8d19b45325460346c415c6 (diff)
downloadwcms-7370dee913a63a2f7d4bc09bd4e5605eac2eb382.tar.gz
wcms-7370dee913a63a2f7d4bc09bd4e5605eac2eb382.zip
fix bookmark construction in user
fix colortag file creation by fixing fn access media
Diffstat (limited to 'app/fn')
-rw-r--r--app/fn/fn.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/fn/fn.php b/app/fn/fn.php
index 461f129..103062a 100644
--- a/app/fn/fn.php
+++ b/app/fn/fn.php
@@ -425,9 +425,6 @@ function accessfile(string $path, bool $createdir = false): bool
if (!is_writable($dir)) {
throw new \InvalidArgumentException("Directory '$dir' is not writable.");
}
- if (!file_exists($path)) {
- throw new \InvalidArgumentException("The file '$path' does not exist.");
- }
if (is_file($path) && !is_writable($path)) {
throw new \InvalidArgumentException("The file '$path' is not writable.");
}