mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
commit
028d17de57
@ -9,6 +9,10 @@ class DMSDocumentAddController extends LeftAndMain {
|
||||
public static $tree_class = 'SiteTree';
|
||||
static $allowed_extensions = array();
|
||||
|
||||
private static $allowed_actions = array (
|
||||
"getEditForm",
|
||||
);
|
||||
|
||||
/**
|
||||
* Add an array of additional allowed extensions
|
||||
* @static
|
||||
|
@ -13,6 +13,9 @@
|
||||
* @package dms
|
||||
*/
|
||||
class DMSUploadField extends UploadField {
|
||||
private static $allowed_actions = array (
|
||||
"upload",
|
||||
);
|
||||
|
||||
protected $folderName = 'DMSTemporaryUploads';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user