Adds theme info file to define 'parent' theme from where load tpl files
This commit is contained in:
parent
939449602a
commit
e9638b6980
23 changed files with 142 additions and 460 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue