2009-09-27, 02:45:10
Yes, it was/is being included. The problem went away after I moved the paragraph to include the functions.php BEFORE loading the template file. My template file had a component which referenced a function in the functions.php file. When the template file processed, it gave an error that it couldn't find the function. So, I load the functions.php first, then the template.
Code:
// include the functions.php page if it exists within the theme
if ( file_exists("theme/".$TEMPLATE."/functions.php") ) {
include("theme/".$TEMPLATE."/functions.php");
}
// include the template and template file set within theme.php and each page
if ( (!file_exists("theme/".$TEMPLATE."/".$template_file)) || ($template_file == '') ) { $template_file = "template.php"; }
include("theme/".$TEMPLATE."/".$template_file);