Revision 1625
Added by Dietmar over 12 years ago
index.php | ||
---|---|---|
20 | 20 |
$admin = new admin('Addons', 'addons'); |
21 | 21 |
|
22 | 22 |
// Setup template object, parse vars to it, then parse it |
23 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('addons.htt')); |
|
24 | 23 |
// Create new template object |
25 |
$template = new Template($ThemePath);
|
|
24 |
$template = new Template(dirname($admin->correct_theme_source('addons.htt')));
|
|
26 | 25 |
$template->set_file('page', 'addons.htt'); |
27 | 26 |
$template->set_block('page', 'main_block', 'main'); |
28 | 27 |
|
Also available in: Unified diff
! update correct_theme_source and fixed the call in all files