diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-04-29 02:23:29 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-04-29 02:23:29 +0200 |
commit | 7370dee913a63a2f7d4bc09bd4e5605eac2eb382 (patch) | |
tree | 950a1fc6997daf4a3e3aae778ca3ed6f7f835ede /app/fn/fn.php | |
parent | 3075127e848150da8b8d19b45325460346c415c6 (diff) | |
download | wcms-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/fn.php')
-rw-r--r-- | app/fn/fn.php | 3 |
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."); } |