Revision 1625
Added by Dietmar over 12 years ago
class.login.php | ||
---|---|---|
341 | 341 |
require_once(WB_PATH.'/include/phplib/template.inc'); |
342 | 342 |
// $template = new Template($this->template_dir); |
343 | 343 |
// Setup template object, parse vars to it, then parse it |
344 |
$ThemePath = realpath(WB_PATH.$this->correct_theme_source($this->template_file)); |
|
345 |
$template = new Template($ThemePath); |
|
344 |
$template = new Template(dirname($this->correct_theme_source($this->template_file))); |
|
346 | 345 |
$template->set_file('page', $this->template_file); |
347 | 346 |
$template->set_block('page', 'mainBlock', 'main'); |
348 | 347 |
if($this->remember_me_option != true) { |
Also available in: Unified diff
! update correct_theme_source and fixed the call in all files