Vasyl Martyniuk This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . */ /* * Core constants */ define('AUTHOR_PREFIX', 'mvb_'); define('WPACCESS_PREFIX', 'wpaccess_'); define('WPACCESS_BASE_DIR', dirname(__FILE__) . '/'); define('WPACCESS_DIRNAME', basename(WPACCESS_BASE_DIR)); /* * Plugin constants */ define('WPACCESS_BASE_URL', WP_PLUGIN_URL . '/' . WPACCESS_DIRNAME . '/'); define('WPACCESS_TEMPLATE_DIR', WPACCESS_BASE_DIR . 'templates/'); define('WPACCESS_CSS_URL', WPACCESS_BASE_URL . 'css/'); define('WPACCESS_JS_URL', WPACCESS_BASE_URL . 'js/'); //load general files require_once('mvb_functions.php'); require_once('mvb_labels.php'); //load auther's private core library if (!class_exists('mvb_corePlugin')) { require_once('core/class-mvb_coreplugin.php'); } if (!class_exists('mvb_coreTemplate')) { require_once('core/class-mvb_coretemplate.php'); } //load additional classes require_once('module/class-module_roles.php'); require_once('module/class-module_user.php'); require_once('module/class-module_filtermenu.php'); require_once('module/class-module_filtermetabox.php'); require_once('module/class-module_optionmanager.php'); /* * Default capabilities for new Role */ $defCapabilities = array( 'read' => 1, 'level_0' => 1 ); ?>