From 0ca6d166bb38e4f9bc25df2d27fff9063cf438a6 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 21 Aug 2019 01:28:11 -0600 Subject: [PATCH] Update filenew.php --- app/edit/filenew.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/edit/filenew.php b/app/edit/filenew.php index 5b151ac2ae..9b5e800a29 100644 --- a/app/edit/filenew.php +++ b/app/edit/filenew.php @@ -25,6 +25,9 @@ James Rose */ +//disable this feature + exit; + //includes include "root.php"; require_once "resources/require.php"; @@ -64,10 +67,9 @@ $content = ""; fwrite($handle, $content); fclose($handle); - header("Location: fileoptions.php"); + header("Location: file_options.php"); } else { - //create a token $key_name = '/app/edit/file_new'; $_SESSION['keys'][$key_name] = bin2hex(random_bytes(32));