Revision 1625
Added by Dietmar over 12 years ago
admin.php | ||
---|---|---|
96 | 96 |
} |
97 | 97 |
|
98 | 98 |
// Setup template object, parse vars to it, then parse it |
99 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('pages_modify.htt')); |
|
100 | 99 |
// Create new template object |
101 |
$template = new Template($ThemePath);
|
|
100 |
$template = new Template(dirname($admin->correct_theme_source('pages_modify.htt')));
|
|
102 | 101 |
// $template->debug = true; |
103 | 102 |
$template->set_file('page', 'pages_modify.htt'); |
104 | 103 |
$template->set_block('page', 'main_block', 'main'); |
Also available in: Unified diff
! update correct_theme_source and fixed the call in all files