From: Jan-Pascal van Best <janpascal@vanbest.org>
Date: Sat, 6 Aug 2011 22:12:32 +0200
Subject: [PATCH] Fix template search location

---
 lib/page/SpotPage_Abs.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

--- a/lib/page/SpotPage_Abs.php
+++ b/lib/page/SpotPage_Abs.php
@@ -20,9 +20,9 @@
 		 * Create a list of paths where to look for template files in
 		 * the correct (last template first) order
 		 */
-		$this->_templatePaths = array('templates/' . $currentSession['active_tpl'] . '/');
+		$this->_templatePaths = array('/usr/share/spotweb/templates/' . $currentSession['active_tpl'] . '/');
 		foreach($this->_tplHelper->getParentTemplates() as $parentTemplate) {
-			$this->_templatePaths[] = 'templates/' . $parentTemplate . '/';
+			$this->_templatePaths[] = '/usr/share/spotweb/templates/' . $parentTemplate . '/';
 		} # foreach
 	} # ctor
 
