]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
make themes work
authorChristian Weiske <cweiske@cweiske.de>
Mon, 23 May 2011 04:56:46 +0000 (06:56 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Mon, 23 May 2011 04:56:46 +0000 (06:56 +0200)
src/SemanticScuttle/Service/Template.php

index df9634463d2d262c0311da07d64f580c56bc383e..2a683d6b1e7f6a71a8d3563802a00e3ae4f0d837 100644 (file)
@@ -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(