MaxNodesRemoveSubtree= number
This directive makes it possible to disallow the removal of big subtrees (for all users). When using the administration interface and trying to remove subtrees containing more nodes than "MaxNodesRemoveSubtree" allows, a warning will be shown while the subtrees will be displayed in red. In such cases, the user will be suggested to use the "ezsubtreeremove.php" script located in the "bin/php/" directory. Subtrees containing more nodes than the value of "MaxNodesRemoveSubtree" can and will not be removed through HTTP (using a web browser to access a siteaccess).
If several subtrees are selected for removal, only the ones containing less nodes than allowed will be removed when the "OK" button is clicked within the removal dialog of the administration interface. The default value of this setting is 100, which means that subtrees containing more than 100 nodes can't be removed through HTTP, not even by users with administrator privileges.
This setting has been introduced in order to avoid cases which might lead to corrupt databases. The time it takes to remove a subtree is proportional with the number of nodes that it contains. If the required processing time exceeds the maximum execution time for PHP scripts, the connection will be lost and thus the database will most likely be left in an inconsistent state.
MaxNodesRemoveSubtree=50
This configuration will not allow the removal of subtrees that contain more than 50 nodes over HTTP. Subtrees containing more than 50 nodes will have to be removed manually using the "ezsubtreeremove.php" script.