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';
|
public static $tree_class = 'SiteTree';
|
||||||
static $allowed_extensions = array();
|
static $allowed_extensions = array();
|
||||||
|
|
||||||
|
private static $allowed_actions = array (
|
||||||
|
"getEditForm",
|
||||||
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add an array of additional allowed extensions
|
* Add an array of additional allowed extensions
|
||||||
* @static
|
* @static
|
||||||
|
@ -13,6 +13,9 @@
|
|||||||
* @package dms
|
* @package dms
|
||||||
*/
|
*/
|
||||||
class DMSUploadField extends UploadField {
|
class DMSUploadField extends UploadField {
|
||||||
|
private static $allowed_actions = array (
|
||||||
|
"upload",
|
||||||
|
);
|
||||||
|
|
||||||
protected $folderName = 'DMSTemporaryUploads';
|
protected $folderName = 'DMSTemporaryUploads';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user