BUGFIX: Changed default config to restrict file-upload types to ADMINs, since it's protecting against security holes. (from r93327)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@96759 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2010-01-12 23:36:49 +00:00
parent 332ddb700a
commit da2f90d187

View File

@ -66,7 +66,7 @@ class File extends DataObject {
* $allowed_extensions will be applied to users with admin privileges as * $allowed_extensions will be applied to users with admin privileges as
* well. * well.
*/ */
public static $apply_restrictions_to_admin = false; public static $apply_restrictions_to_admin = true;
/** /**