From: Christian Weiske Date: Mon, 23 May 2011 04:56:46 +0000 (+0200) Subject: make themes work X-Git-Tag: v0.98.0~34^2~21^2~14 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=581eca06d61d3cf9213f80b7540072cf2098f0f6;p=semanticscuttle.git make themes work --- 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(