4.7.x phptemplate.engine phptemplate_init($template)
5.x phptemplate.engine phptemplate_init($template)
6.x phptemplate.engine phptemplate_init($template)
7.x phptemplate.engine phptemplate_init($template)

File

themes/engines/phptemplate/phptemplate.engine, line 9
Handles integration of templates written in pure php with the Drupal theme system.

Code

function phptemplate_init($template) {
  $file = dirname($template->filename) . '/template.php';
  if (file_exists($file)) {
    include_once "./$file";
  }
}