summaryrefslogtreecommitdiffstats
path: root/usr/local/www/edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/edit.php')
-rw-r--r--usr/local/www/edit.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/edit.php b/usr/local/www/edit.php
index 942904a..56088b4 100644
--- a/usr/local/www/edit.php
+++ b/usr/local/www/edit.php
@@ -36,6 +36,9 @@
##|*MATCH=edit.php*
##|-PRIV
+if($_REQUEST['action'] === "load" || $_REQUEST['action'] === "save")
+ $nocsrf = true;
+
$pgtitle = array(gettext("Diagnostics"), gettext("Edit file"));
require("guiconfig.inc");
OpenPOWER on IntegriCloud