<?php
/*
 * Copyright (c) 2013, webvariants GbR, http://www.webvariants.de
 *
 * This file is released under the terms of the MIT license. You can find the
 * complete text in the attached LICENSE file or online at:
 *
 * http://www.opensource.org/licenses/mit-license.php
 */

define('SLY_RBAC_TREEVIEW_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR);
sly_Loader::addLoadPath(SLY_RBAC_TREEVIEW_PATH.'lib');
sly_Core::dispatcher()->register('WV42_DESTINATION_VALUES', array('WV42_TreeHelper', 'applyCatPerms'));

if (sly_Core::isBackend()) {
	sly_Core::getI18N()->appendFile(SLY_RBAC_TREEVIEW_PATH.'lang');
}
