Revision 1625
Added by Dietmar over 12 years ago
index.php | ||
---|---|---|
25 | 25 |
global $HEADING, $TEXT; |
26 | 26 |
include_once(WB_PATH.'/framework/functions-utf8.php'); |
27 | 27 |
// Setup template object, parse vars to it, then parse it |
28 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('preferences.htt'));
|
|
28 |
// Setup template object, parse vars to it, then parse it
|
|
29 | 29 |
// Create new template object |
30 |
$template = new Template($ThemePath);
|
|
30 |
$template = new Template(dirname($admin->correct_theme_source('preferences.htt')));
|
|
31 | 31 |
$template->set_file( 'page', 'preferences.htt' ); |
32 | 32 |
$template->set_block( 'page', 'main_block', 'main' ); |
33 | 33 |
// read user-info from table users and assign it to template |
Also available in: Unified diff
! update correct_theme_source and fixed the call in all files