Use this to dynamically unregister a resource plugin. Pass in the name of the resource.
Example 1. unregister_resource
<?php$smarty->unregister_resource("db");?>