From 4af41c97ec3285d3e6183209bea971e48aeb8edb Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 21 Aug 2019 02:31:59 -0600 Subject: [PATCH] Update file_read.php --- app/edit/file_read.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");