예제 #1
0
}
/**
 * Cache addon data
 */
$roster->get_addon_data();
/**
 * Load the locale class
 */
include ROSTER_LIB . 'locale.php';
$roster->locale = new roster_locale();
/**
 * Include the Roster Menu class
 */
require_once ROSTER_LIB . 'menu.php';
if (version_compare($roster->config['version'], '2.1.9.2530', '>=')) {
    $roster->get_global_plugins();
}
/**
 * Figure out the page
 */
$roster->get_page_name();
/**
 * Load scope data classes
 */
include ROSTER_LIB . 'scope' . DIR_SEP . 'util.php';
include ROSTER_LIB . 'scope' . DIR_SEP . 'realm.php';
include ROSTER_LIB . 'scope' . DIR_SEP . 'guild.php';
include ROSTER_LIB . 'scope' . DIR_SEP . 'char.php';
include ROSTER_LIB . 'scope' . DIR_SEP . 'user.php';
/**
 * Run the scope algorithm to load the data and figure out the data to load