diff options
author | Romain d'Alverny <rdalverny@gmail.com> | 2022-01-11 18:15:03 +0100 |
---|---|---|
committer | Romain d'Alverny <rdalverny@gmail.com> | 2022-01-11 18:15:03 +0100 |
commit | e15d370cb009809ea4f0be606303c558ae35789d (patch) | |
tree | 8d68bbcbfe453c44fc76322bbecb22031a69babd /app/helpers.php | |
parent | 1b7fbc4614b577e14052fea50487ee5d0a301e93 (diff) | |
download | planet-e15d370cb009809ea4f0be606303c558ae35789d.tar planet-e15d370cb009809ea4f0be606303c558ae35789d.tar.gz planet-e15d370cb009809ea4f0be606303c558ae35789d.tar.bz2 planet-e15d370cb009809ea4f0be606303c558ae35789d.tar.xz planet-e15d370cb009809ea4f0be606303c558ae35789d.zip |
Fix warnings
Diffstat (limited to 'app/helpers.php')
-rw-r--r-- | app/helpers.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers.php b/app/helpers.php index 3bb0c1d..a7e68ae 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -71,7 +71,7 @@ function removeCustomFiles() ]; foreach ($toRemove as $path) { - if (file_exists($path)) { + if (is_file($path)) { unlink($path); } } |