diff --git a/app/edit/file_read.php b/app/edit/file_read.php index b4570a3f81..48e40b4a6e 100644 --- a/app/edit/file_read.php +++ b/app/edit/file_read.php @@ -40,7 +40,7 @@ //get the file name $file_name = $_POST["file"]; - $file_name = str_replace ("\\", "/", $filename); + $file_name = str_replace ("\\", "/", $file_name); //get the contents of the file $handle = fopen($file_name, "r");