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:

index.php
21 21
$admin = new admin('Addons', 'templates');
22 22

  
23 23
// Setup template object, parse vars to it, then parse it
24
$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('templates.htt'));
25 24
// Create new template object
26
$template = new Template($ThemePath);
25
$template = new Template(dirname($admin->correct_theme_source('templates.htt')));
27 26
// $template->debug = true;
28 27
$template->set_file('page', 'templates.htt');
29 28
$template->set_block('page', 'main_block', 'main');

Also available in: Unified diff