summaryrefslogtreecommitdiffstats
path: root/usr/local/www/edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-02 05:22:40 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-02 05:22:40 +0000
commit207c63040bbee03b1f7ba871a965608c4315072a (patch)
tree7be3c0175f9796a26a17d4dfd8f27f53c5904685 /usr/local/www/edit.php
parent2e8eada098c43e53c79a2aa9a4627267006b9a26 (diff)
downloadpfsense-207c63040bbee03b1f7ba871a965608c4315072a.zip
pfsense-207c63040bbee03b1f7ba871a965608c4315072a.tar.gz
Missing )
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