bludit/kernel/boot/site.php
2015-06-02 22:17:09 -03:00

16 lines
489 B
PHP

<?php defined('BLUDIT') or die('Bludit CMS.');
// Boot rules
include(PATH_RULES.'70.build_posts.php');
include(PATH_RULES.'70.build_pages.php');
include(PATH_RULES.'80.plugins.php');
include(PATH_RULES.'99.header.php');
// Theme init.php
if( Sanitize::pathFile(PATH_THEMES, $Site->theme().'/init.php') )
include(PATH_THEMES.$Site->theme().'/init.php');
// Theme HTML
if( Sanitize::pathFile(PATH_THEMES, $Site->theme().'/index.php') )
include(PATH_THEMES.$Site->theme().'/index.php');