function phptemplate_init

Implements hook_init().

File

themes/engines/phptemplate/phptemplate.engine, line 11

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.