summaryrefslogtreecommitdiffstats
path: root/usr/local/www/edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-02 06:16:21 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-02 06:16:21 +0000
commitf14e4c2a8c787404fa548bd10d0aaecfd697b186 (patch)
tree0ae3b073191a6d5fede9e179600cdb51e0343cd2 /usr/local/www/edit.php
parenta5acacf6cac9d9e2699affc8d8abb9b66a275b40 (diff)
downloadpfsense-f14e4c2a8c787404fa548bd10d0aaecfd697b186.zip
pfsense-f14e4c2a8c787404fa548bd10d0aaecfd697b186.tar.gz
Add .inc files
Diffstat (limited to 'usr/local/www/edit.php')
-rwxr-xr-xusr/local/www/edit.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/edit.php b/usr/local/www/edit.php
index 6a5f450..de5fe5e 100755
--- a/usr/local/www/edit.php
+++ b/usr/local/www/edit.php
@@ -38,8 +38,10 @@ if (($_POST['submit'] == "Load") && file_exists($_POST['savetopath'])) {
$loadmsg = "Loaded text from " . $_POST['savetopath'];
if(stristr($_POST['savetopath'], ".php") == true)
$language = "php";
+ else if(stristr($_POST['savetopath'], ".inc") == true)
+ $language = "php";
else if(stristr($_POST['savetopath'], ".sh") == true)
- $language = "php";
+ $language = "core";
else if(stristr($_POST['savetopath'], ".xml") == true)
$language = "xml";
} else if (($_POST['submit'] == "Save")) {
OpenPOWER on IntegriCloud