Revision 1625
Added by Dietmar over 12 years ago
index.php | ||
---|---|---|
29 | 29 |
require_once(WB_PATH.'/framework/functions-utf8.php'); |
30 | 30 |
|
31 | 31 |
// Setup template object, parse vars to it, then parse it |
32 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('settings.htt')); |
|
33 | 32 |
// Create new template object |
34 |
$template = new Template($ThemePath);
|
|
33 |
$template = new Template(dirname($admin->correct_theme_source('settings.htt')));
|
|
35 | 34 |
// $template->debug = true; |
36 | 35 |
$template->set_file('page', 'settings.htt'); |
37 | 36 |
$template->set_block('page', 'main_block', 'main'); |
Also available in: Unified diff
! update correct_theme_source and fixed the call in all files