Revision 1625
Added by Dietmar over 12 years ago
index.php | ||
---|---|---|
21 | 21 |
$admin = new admin('Access', 'access'); |
22 | 22 |
|
23 | 23 |
// Setup template object, parse vars to it, then parse it |
24 |
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('access.htt')); |
|
25 | 24 |
// Create new template object |
26 |
$template = new Template($ThemePath);
|
|
25 |
$template = new Template(dirname($admin->correct_theme_source('access.htt')));
|
|
27 | 26 |
// $template->debug = true; |
28 | 27 |
$template->set_file('page', 'access.htt'); |
29 | 28 |
|
Also available in: Unified diff
! update correct_theme_source and fixed the call in all files