From a3bb66e4e81817737ce02ce8f3d0cff5c32fdae9 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sat, 20 Sep 2008 20:22:25 +0000 Subject: #259623 by dopry and Damien Tournoud: Convert includes/requires to use absolute paths. --- themes/engines/phptemplate/phptemplate.engine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/engines/phptemplate') diff --git a/themes/engines/phptemplate/phptemplate.engine b/themes/engines/phptemplate/phptemplate.engine index ed34815a8..9d94b6849 100644 --- a/themes/engines/phptemplate/phptemplate.engine +++ b/themes/engines/phptemplate/phptemplate.engine @@ -9,7 +9,7 @@ function phptemplate_init($template) { $file = dirname($template->filename) . '/template.php'; if (file_exists($file)) { - include_once "./$file"; + include_once DRUPAL_ROOT . '/' . $file; } } -- cgit v1.2.3