diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2004-08-22 17:03:42 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2004-08-22 17:03:42 +0000 |
commit | 51cf18e53176244f264c56cab1c4ff0d1767ac59 (patch) | |
tree | 833a665ab48dd0d3a54676d78aa9152b0699f21e /themes/engines | |
parent | 95cb7f32229e229a39e70a76b2b0f6a14cdc5953 (diff) | |
download | brdo-51cf18e53176244f264c56cab1c4ff0d1767ac59.tar.gz brdo-51cf18e53176244f264c56cab1c4ff0d1767ac59.tar.bz2 |
- #9292: Make Drupal (somewhat) PHP5 compatible. xtemplate is still horribly broken.
Diffstat (limited to 'themes/engines')
-rw-r--r-- | themes/engines/xtemplate/xtemplate.engine | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/themes/engines/xtemplate/xtemplate.engine b/themes/engines/xtemplate/xtemplate.engine index 6bcffc65a..2b91f70d7 100644 --- a/themes/engines/xtemplate/xtemplate.engine +++ b/themes/engines/xtemplate/xtemplate.engine @@ -12,6 +12,7 @@ function xtemplate_init($template) { if (!class_exists('XTemplate')) { include_once('themes/engines/xtemplate/xtemplate.inc'); } + $GLOBALS["xtemplate"] = new StdClass(); $GLOBALS['xtemplate']->template = new XTemplate(basename($template->filename), dirname($template->filename)); $GLOBALS['xtemplate']->template->SetNullBlock(' '); // '' doesnt work! } |