1.20.x phptemplate.engine phptemplate_init($template)

Implements hook_init().

File

themes/engines/phptemplate/phptemplate.engine, line 11
Handles integration of PHP templates with the Backdrop theme system.

Code

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