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