Skip to content

Commit

Permalink
Disabling phtml/pht files from being uploaded.
Browse files Browse the repository at this point in the history
  • Loading branch information
timbuckingham committed May 25, 2017
1 parent 337f671 commit b722939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/inc/bigtree/apis/storage.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class BigTreeStorage {

var $AutoJPEG = false;
var $DisabledFileError = false;
var $DisabledExtensionRegEx = '/\\.(exe|com|bat|php|rb|py|cgi|pl|sh|asp|aspx)/i';
var $DisabledExtensionRegEx = '/\\.(exe|com|bat|php|rb|py|cgi|pl|sh|asp|aspx|phtml|pht)/i';
var $Service = "";
var $Cloud = false;
var $Settings;
Expand Down

0 comments on commit b722939

Please sign in to comment.