equal
deleted
inserted
replaced
1497 { |
1497 { |
1498 die('$template->extract_vars(): theme not yet loaded, so we can\'t open template files yet...this is a bug and should be reported.<br /><br />Backtrace, most recent call first:<pre>'.enano_debug_print_backtrace(true).'</pre>'); |
1498 die('$template->extract_vars(): theme not yet loaded, so we can\'t open template files yet...this is a bug and should be reported.<br /><br />Backtrace, most recent call first:<pre>'.enano_debug_print_backtrace(true).'</pre>'); |
1499 } |
1499 } |
1500 |
1500 |
1501 // Full pathname of template file |
1501 // Full pathname of template file |
1502 $tpl_file_fullpath = ENANO_ROOT . '/themes/' . $this->theme . '/' . $file; |
1502 $tpl_file_fullpath = ( strstr($file, '/') ) ? $file : ENANO_ROOT . '/themes/' . $this->theme . '/' . $file; |
1503 |
1503 |
1504 // Make sure the template even exists |
1504 // Make sure the template even exists |
1505 if ( !is_file($tpl_file_fullpath) ) |
1505 if ( !is_file($tpl_file_fullpath) ) |
1506 { |
1506 { |
1507 die_semicritical('Cannot find template file', |
1507 die_semicritical('Cannot find template file', |