Revision 1529
Added by Dietmar almost 13 years ago
index.php | ||
---|---|---|
22 | 22 |
// Include the WB functions file |
23 | 23 |
require_once(WB_PATH.'/framework/functions.php'); |
24 | 24 |
|
25 |
// Setup template object, parse vars to it, then parse it |
|
26 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('admintools.htt')); |
|
25 | 27 |
// Create new template object |
26 |
$template = new Template(THEME_PATH.'/templates'); |
|
28 |
$template = new Template($ThemePath); |
|
29 |
// $template->debug = true; |
|
27 | 30 |
$template->set_file('page', 'admintools.htt'); |
28 | 31 |
$template->set_block('page', 'main_block', 'main'); |
29 | 32 |
|
Also available in: Unified diff
add new backend theme handling (Tks to Stefek)