Revision 1625
Added by Dietmar over 12 years ago
index.php | ||
---|---|---|
352 | 352 |
<?php |
353 | 353 |
} |
354 | 354 |
// Setup template object, parse vars to it, then parse it |
355 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('pages.htt')); |
|
356 | 355 |
// Create new template object |
357 |
$template = new Template($ThemePath);
|
|
356 |
$template = new Template(dirname($admin->correct_theme_source('pages.htt')));
|
|
358 | 357 |
// $template->debug = true; |
359 | 358 |
$template->set_file('page', 'pages.htt'); |
360 | 359 |
$template->set_block('page', 'main_block', 'main'); |
Also available in: Unified diff
! update correct_theme_source and fixed the call in all files