예제 #1
0
include $themeDir . '/fw/deb.class.php';
include $themeDir . '/fw/tools.class.php';
include $themeDir . '/fw/header.class.php';
/* READ OPTIONS | META */
include $themeDir . '/fw/sett.class.php';
include $themeDir . '/fw/meta.class.php';
include $themeDir . '/fw/cfg.php';
include $themeDir . '/fw/mythemes.class.php';
include $themeDir . '/fw/layout.class.php';
/* CUSTOM POSTS */
include $themeDir . '/cfg/admin/resources/boxes.php';
include $themeDir . '/cfg/admin/resources/posts.php';
include $themeDir . '/cfg/admin/resources/taxonomy.php';
/* SET DEFAULT VALUES FOR SETTINGS FROM PAGES */
include $themeDir . '/cfg/admin/default.php';
/* LOAD THEME ADMIN DATA */
if (is_admin()) {
    include $themeDir . '/fw/admin/ahtml.class.php';
    /* REGISTER PAGES */
    include $themeDir . '/cfg/admin/pages.php';
    include $themeDir . '/fw/admin/main.php';
}
/* load plugins */
include $themeDir . '/fw/plg.php';
/* INIT ACTIONS, SHORTCODES, AJAX */
myThemes::init_actions();
myThemes::init_filters();
/* REGISTER ( MENUS | SIDEBARS ) */
myThemes::reg_menus();
myThemes::reg_sidebars();