Allow .php5 - files to be edited as well, refs #819

Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org>
This commit is contained in:
Florian Aders (EleRas)
2011-06-23 16:32:20 +02:00
parent 536e66da7c
commit b7114c670a

View File

@@ -23,7 +23,7 @@ $downloadDir = "/tmp/";
// Which file extensions indicate files allowed to be edited
// Either simple extension or regex
$editFileExtensions = array("php[34]?$","sh$","txt$","[ps]?htm[l]?$","tpl$","pl","cgi","^ht[acespwd]+$");
$editFileExtensions = array("php[345]?$","sh$","txt$","[ps]?htm[l]?$","tpl$","pl","cgi","^ht[acespwd]+$");
// Are files without extension allowed to be edited?
$editFileNoExtension = true;
// Which FTP - mode should be used by default?
@@ -1004,4 +1004,4 @@ function parse_ftp_rawlist($list, $type = "UNIX")
reset($files);
}
return $files;
}
}