From 0d02fe02d61bfc4db1418c9bfad2206bbfc2f3c5 Mon Sep 17 00:00:00 2001 From: Alex Vitkov Date: Sat, 13 Feb 2021 14:10:34 +0200 Subject: The X Window System, part 2 of N --- php/readfile.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'php') 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); } -- cgit v1.2.3