#221 - theme issues w/ common.php:template()

Description

What did you do to cause this? Add new /x_theme dir to /system/views/

What page were you on? All

Describe the defect: The function template() is built inconsistently, I have fixed it in my installation but it in 2.x here is what is does: [code] if(file_exists(TRAQPATH.'/themes/views/'.settings('theme').'/'.$template.".php")) { return TRAQPATH.'/system/views/'.settings('theme').'/'.$template.".php"; } and it should be: if(file_exists(TRAQPATH.'/system/views/'.settings('theme').'/'.$template.".php")) { return TRAQPATH.'/system/views/'.settings('theme').'/'.$template.".php"; }[/code]

else it is looking for a new theme in /theme/views/ and including from /system/views/

Activity

Jack closed as Fixed 13 years and 11 months ago

13 years and 10 months ago by Jack

  • Milestone 3.0 2.3.2

Status

Fixed
-
Low

Details

Defect
2.3.2
-
2.2
Trivial

Tracking

Devon Hazelett
13 years and 11 months ago
11 years and 11 months ago
0
-
-