mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add .inc files
This commit is contained in:
parent
a5acacf6ca
commit
f14e4c2a8c
@ -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")) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user