Allow infinitely nested CmsObjects that may have been permitted to load previously through the filesystem continue to load.
This commit is contained in:
parent
7cb148c167
commit
e9e4210842
|
|
@ -36,6 +36,13 @@ class CmsObject extends HalcyonModel implements CmsObjectContract
|
|||
*/
|
||||
public $customMessages = [];
|
||||
|
||||
/**
|
||||
* @var int The maximum allowed path nesting level. The default value is 2,
|
||||
* meaning that files can only exist in the root directory, or in a
|
||||
* subdirectory. Set to null if any level is allowed.
|
||||
*/
|
||||
protected $maxNesting = null;
|
||||
|
||||
/**
|
||||
* @var array The attributes that are mass assignable.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue