Project

General

Profile

« Previous | Next » 

Revision 1625

Added by Dietmar over 12 years ago

! update correct_theme_source and fixed the call in all files

View differences:

modify.php
66 66
        : 'Unknown';
67 67
// $ftan_module = $GLOBALS['ftan_module'];
68 68
// Setup template object, parse vars to it, then parse it
69
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('pages_modify.htt'));
70 69
// Create new template object
71
$template = new Template($ThemePath);
70
$template = new Template(dirname($admin->correct_theme_source('pages_modify.htt')));
72 71
// $template->debug = true;
73 72
$template->set_file('page', 'pages_modify.htt');
74 73
$template->set_block('page', 'main_block', 'main');

Also available in: Unified diff