1
0
Fork 0

Adds theme info file to define 'parent' theme from where load tpl files

This commit is contained in:
Fabio Comuni 2011-09-27 09:32:20 +02:00
commit e9638b6980
23 changed files with 142 additions and 460 deletions

View file

@ -218,6 +218,13 @@ if(strlen($a->module)) {
}
}
/**
* load current theme info
*/
$theme_info_file = "view/theme/".current_theme()."/theme.php";
if (file_exists($theme_info_file)){
require_once($theme_info_file);
}
/* initialise content region */