function phptemplate_init

Implements hook_init().

File

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

Code

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