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:

users.php
43 43
			$user = $results->fetchRow();
44 44

  
45 45
			// Setup template object, parse vars to it, then parse it
46
			$ThemePath = realpath(WB_PATH.$admin->correct_theme_source('users_form.htt'));
47 46
			// Create new template object
48
			$template = new Template($ThemePath);
47
			$template = new Template(dirname($admin->correct_theme_source('users_form.htt')));
49 48
			// $template->debug = true;
50 49
			$template->set_file('page', 'users_form.htt');
51 50
			$template->set_block('page', 'main_block', 'main');

Also available in: Unified diff