aboutsummaryrefslogtreecommitdiffstats
path: root/php
diff options
context:
space:
mode:
authorAlex Vitkov <alexvitkov98@gmail.com>2021-02-13 14:10:34 +0200
committerAlex Vitkov <alexvitkov98@gmail.com>2021-02-13 14:10:34 +0200
commit0d02fe02d61bfc4db1418c9bfad2206bbfc2f3c5 (patch)
tree36fe2466421e991185c8939fceaa510040d4e80e /php
parent69e5811baed686a7f768c5db25856d04cd15d145 (diff)
downloadfileup-0d02fe02d61bfc4db1418c9bfad2206bbfc2f3c5.tar.gz
The X Window System, part 2 of N
Diffstat (limited to 'php')
-rw-r--r--php/readfile.php4
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);
}