diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-02 05:22:40 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-02 05:22:40 +0000 |
commit | 207c63040bbee03b1f7ba871a965608c4315072a (patch) | |
tree | 7be3c0175f9796a26a17d4dfd8f27f53c5904685 /usr/local/www | |
parent | 2e8eada098c43e53c79a2aa9a4627267006b9a26 (diff) | |
download | pfsense-207c63040bbee03b1f7ba871a965608c4315072a.zip pfsense-207c63040bbee03b1f7ba871a965608c4315072a.tar.gz |
Missing )
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/edit.php | 6 |
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(); |