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
22 22
$admin = new admin('Addons', 'languages');
23 23

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

Also available in: Unified diff