summaryrefslogtreecommitdiffstats
path: root/usr/local/www/edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/edit.php')
-rwxr-xr-xusr/local/www/edit.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/edit.php b/usr/local/www/edit.php
index e8a1949..186bc38 100755
--- a/usr/local/www/edit.php
+++ b/usr/local/www/edit.php
@@ -36,11 +36,11 @@ if (($_POST['submit'] == "Load") && file_exists($_POST['savetopath'])) {
fclose($fd);
$edit_area="";
$loadmsg = "Loaded text from " . $_POST['savetopath'];
- if(stristr($_POST['savetopath'], ".php" == true)
+ if(stristr($_POST['savetopath'], ".php") == true)
$language = "php";
- else if(stristr($_POST['savetopath'], ".sh" == true)
+ else if(stristr($_POST['savetopath'], ".sh") == true)
$language = "php";
- else if(stristr($_POST['savetopath'], ".xml" == true)
+ else if(stristr($_POST['savetopath'], ".xml") == true)
$language = "xml";
} else if (($_POST['submit'] == "Save")) {
conf_mount_rw();
OpenPOWER on IntegriCloud