function phptemplate_init
7.x phptemplate.engine | phptemplate_init($template) |
6.x phptemplate.engine | phptemplate_init($template) |
Implementation of hook_init().
File
- drupal-6.x/
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.php';
if (file_exists($file)) {
include_once "./$file";
}
}