summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-05-23 06:56:46 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-05-23 06:56:46 +0200
commit581eca06d61d3cf9213f80b7540072cf2098f0f6 (patch)
tree63c9c2546285a1fe87c10c9418803057c6d268e7
parenta11432db93dbfdb0dbc78e1dd384663439799559 (diff)
downloadsemanticscuttle-581eca06d61d3cf9213f80b7540072cf2098f0f6.tar.gz
semanticscuttle-581eca06d61d3cf9213f80b7540072cf2098f0f6.tar.bz2
make themes work
-rw-r--r--src/SemanticScuttle/Service/Template.php2
1 files changed, 2 insertions, 0 deletions
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(