From 581eca06d61d3cf9213f80b7540072cf2098f0f6 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Mon, 23 May 2011 06:56:46 +0200 Subject: make themes work --- src/SemanticScuttle/Service/Template.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SemanticScuttle/Service/Template.php b/src/SemanticScuttle/Service/Template.php index df96344..2a683d6 100644 --- a/src/SemanticScuttle/Service/Template.php +++ b/src/SemanticScuttle/Service/Template.php @@ -97,6 +97,8 @@ class SemanticScuttle_Service_Template extends SemanticScuttle_Service set_include_path( $this->basedir . $this->theme . PATH_SEPARATOR . $this->basedir . 'default' + //needed since services are instantiated in templates + . PATH_SEPARATOR . $oldIncPath ); $tpl = new SemanticScuttle_Model_Template( -- cgit v1.2.3