|
From: OryNider <ory...@us...> - 2007-10-28 17:18:08
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27457 Modified Files: Tag: core28x mx_functions_style.php Log Message: fixed last bug with undefined default template :) Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.17.2.4 retrieving revision 1.17.2.5 diff -C2 -d -r1.17.2.4 -r1.17.2.5 *** mx_functions_style.php 21 Sep 2007 18:46:04 -0000 1.17.2.4 --- mx_functions_style.php 28 Oct 2007 17:18:00 -0000 1.17.2.5 *************** *** 64,68 **** function make_filename($filename) { ! global $module_root_path, $mx_root_path, $phpbb_root_path, $theme; $style_path = $theme['template_name'] . '/'; --- 64,68 ---- function make_filename($filename) { ! global $module_root_path, $mx_root_path, $phpbb_root_path, $theme, $mx_user; $style_path = $theme['template_name'] . '/'; *************** *** 521,524 **** --- 521,526 ---- $this->current_template_path = $this->template_path . $this->template_name; + $this->default_template_name = 'subSilver'; + $this->default_current_template_path = $this->template_path . $this->default_template_name; |