diff options
author | adam <adam@> | 2021-02-13 14:51:43 +0200 |
---|---|---|
committer | adam <adam@> | 2021-02-13 14:51:43 +0200 |
commit | 25923c67bcf8c404174acca72fc888c42ff13e57 (patch) | |
tree | 2c1ef2e5c5b9500658f5fd99270ee6922b5d927d /php | |
parent | a346874ea858d43ee2336e315dba056fb81b6439 (diff) | |
parent | 714b2e851734447a6701af88fc56091a3d75d7c1 (diff) | |
download | fileup-25923c67bcf8c404174acca72fc888c42ff13e57.tar.gz |
Merge https://github.com/alexvitkov/india
Diffstat (limited to 'php')
-rw-r--r-- | php/readfile.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/php/readfile.php b/php/readfile.php index 6e759d3..459232e 100644 --- a/php/readfile.php +++ b/php/readfile.php @@ -19,7 +19,7 @@ $filename = $_POST["filename"]; $dir = get_directory($folder, $user); if (!$dir) { - error_log("/php/readfile.php - invalid directory"); + error_log("/php/readfile.php - invalid directory '$folder'"); http_response_code(409); exit(0); } @@ -34,7 +34,7 @@ foreach ($contents_of_dir as $c) { } } if (!$file_node) { - error_log("/php/readfile.php - invalid filename"); + error_log("/php/readfile.php - invalid filename '$filename'"); http_response_code(409); exit(0); } |