cleaning code
This commit is contained in:
parent
25d2a113fd
commit
c94c919f94
@ -16,15 +16,14 @@ include(PATH_RULES.'99.themes.php');
|
||||
Theme::plugins('beforeSiteLoad');
|
||||
|
||||
// Theme init.php
|
||||
if( Sanitize::pathFile(PATH_THEMES, $Site->theme().DS.'init.php') ) {
|
||||
if (Sanitize::pathFile(PATH_THEMES, $Site->theme().DS.'init.php')) {
|
||||
include(PATH_THEMES.$Site->theme().DS.'init.php');
|
||||
}
|
||||
|
||||
// Theme HTML
|
||||
if( Sanitize::pathFile(PATH_THEMES, $Site->theme().DS.'index.php') ) {
|
||||
if (Sanitize::pathFile(PATH_THEMES, $Site->theme().DS.'index.php')) {
|
||||
include(PATH_THEMES.$Site->theme().DS.'index.php');
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
$Language->p('Please check your theme configuration');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user