Revision 1625
Added by Luisehahne over 13 years ago
| index.php | ||
|---|---|---|
| 23 | 23 |
require_once(WB_PATH.'/framework/functions.php'); |
| 24 | 24 |
|
| 25 | 25 |
// Setup template object, parse vars to it, then parse it |
| 26 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('admintools.htt'));
|
|
| 27 | 26 |
// Create new template object |
| 28 |
$template = new Template($ThemePath);
|
|
| 27 |
$template = new Template(dirname($admin->correct_theme_source('admintools.htt')));
|
|
| 29 | 28 |
// $template->debug = true; |
| 30 | 29 |
$template->set_file('page', 'admintools.htt');
|
| 31 | 30 |
$template->set_block('page', 'main_block', 'main');
|
Also available in: Unified diff
! update correct_theme_source and fixed the call in all files