Commit 615f5bb9 authored by Dries's avatar Dries

- Made it so that the xtemplate engine can only be included once. Patch by

  Ax.
parent 164003ed
......@@ -18,7 +18,9 @@ function system($field) {
}
function Theme_xtemplate() {
include_once("themes/xtemplate/xtemplate.inc");
if (!class_exists("XTemplate")) {
include_once("themes/xtemplate/xtemplate.inc");
}
$this->template = new XTemplate("themes/xtemplate/xtemplate.xtmpl");
$this->template->SetNullBlock(" "); // "" doesnt work!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment