diff options
author | Andrew Dolgov <[email protected]> | 2019-08-16 15:29:24 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-08-16 15:29:24 +0300 |
commit | 3e4701116d9a7a2b93646f2c9aed80b63175d206 (patch) | |
tree | 76a6d8664cb7ff9b7bbb2e6da5b3ee434baca59f /include | |
parent | 865c54abcb5bdfb6d68757cfadccd8383cdc213c (diff) |
af_readability: add missing file
Diffstat (limited to 'include')
-rw-r--r-- | include/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php index c326ac468..e78f0de9d 100644 --- a/include/functions.php +++ b/include/functions.php @@ -593,7 +593,7 @@ } function clean_filename($filename) { - return basename(preg_replace("/\.\.|[\/\\\]/", "", $filename)); + return basename(preg_replace("/\.\.|[\/\\\]/", "", clean($filename))); } function make_password($length = 12) { |