bludit/kernel/boot/site.php

16 lines
497 B
PHP
Raw Normal View History

2015-03-08 18:02:59 +01:00
<?php defined('BLUDIT') or die('Bludit CMS.');
// Boot rules
2015-06-27 00:12:26 +02:00
include(PATH_RULES.'60.plugins.php');
2015-03-08 18:02:59 +01:00
include(PATH_RULES.'70.build_posts.php');
include(PATH_RULES.'70.build_pages.php');
2015-03-27 02:00:01 +01:00
include(PATH_RULES.'99.header.php');
2015-05-05 03:00:01 +02:00
// Theme init.php
2015-06-22 00:01:07 +02:00
if( Sanitize::pathFile(PATH_THEMES, $Site->theme().DS.'init.php') )
include(PATH_THEMES.$Site->theme().DS.'init.php');
2015-05-05 03:00:01 +02:00
// Theme HTML
2015-06-22 00:01:07 +02:00
if( Sanitize::pathFile(PATH_THEMES, $Site->theme().DS.'index.php') )
include(PATH_THEMES.$Site->theme().DS.'index.php');