Revision 1625
Added by Dietmar over 12 years ago
browse.php | ||
---|---|---|
82 | 82 |
} |
83 | 83 |
|
84 | 84 |
// Setup template object, parse vars to it, then parse it |
85 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('media_browse.htt')); |
|
86 | 85 |
// Create new template object |
87 |
$template = new Template($ThemePath);
|
|
86 |
$template = new Template(dirname($admin->correct_theme_source('media_browse.htt')));
|
|
88 | 87 |
$template->set_file('page', 'media_browse.htt'); |
89 | 88 |
$template->set_block('page', 'main_block', 'main'); |
90 | 89 |
|
Also available in: Unified diff
! update correct_theme_source and fixed the call in all files