if ($root !== '' && $root[strlen($root)-1] !== '/') {
$root = $root . '/';
}
- $theme_info = $a->theme_info;
+ $theme_info = get_app()->theme_info;
if (is_array($theme_info) && array_key_exists('extends',$theme_info)) {
$parent = $theme_info['extends'];
} else {