summaryrefslogtreecommitdiff
path: root/themes/engines
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-01-29 07:36:29 +0000
committerDries Buytaert <dries@buytaert.net>2006-01-29 07:36:29 +0000
commit81660bc6620531792db7c0e2e717ea0ca1ac4f33 (patch)
tree1d996a97c38859d02235887342d88a98296f41b8 /themes/engines
parent5229f329ac458aca6d5d7505cc5be2f975928c83 (diff)
downloadbrdo-81660bc6620531792db7c0e2e717ea0ca1ac4f33.tar.gz
brdo-81660bc6620531792db7c0e2e717ea0ca1ac4f33.tar.bz2
- Patch #13148: fix problems with using relative path names! (Please document this change.)
Diffstat (limited to 'themes/engines')
-rw-r--r--themes/engines/phptemplate/phptemplate.engine2
1 files changed, 2 insertions, 0 deletions
diff --git a/themes/engines/phptemplate/phptemplate.engine b/themes/engines/phptemplate/phptemplate.engine
index e7ddc86a2..6aa99f7f2 100644
--- a/themes/engines/phptemplate/phptemplate.engine
+++ b/themes/engines/phptemplate/phptemplate.engine
@@ -140,6 +140,7 @@ function phptemplate_features() {
* into a pluggable template engine.
*/
function phptemplate_page($content) {
+ global $base_path;
/* Set title and breadcrumb to declared values */
if ($_GET['q'] == variable_get('site_frontpage', 'node')) {
@@ -185,6 +186,7 @@ function phptemplate_page($content) {
}
$variables = array(
+ 'base_path' => $base_path,
'breadcrumb' => theme('breadcrumb', drupal_get_breadcrumb()),
'closure' => theme('closure'),
'content' => '<!-- begin content -->' . $content . '<!-- end content -->',