예제 #1
0
/**
 * Include linking file
 */
require_once ROSTER_LIB . 'cmslink.lib.php';
/**
 * Load the Template Parser
 */
include ROSTER_LIB . 'template.php';
$roster->tpl = new RosterTemplate();
if (file_exists($roster->tpl->root . DIR_SEP . 'theme.php')) {
    include_once $roster->tpl->root . DIR_SEP . 'theme.php';
}
/**
 * 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';
/**
 * Figure out the page
 */
$roster->get_page_name();
/**
 * Run the scope algorithm to load the data and figure out the file to load