Fix the path for raintpl and remove some trailing spaces and extra tabs.

This commit is contained in:
Mark Crane
2013-11-11 20:17:50 +00:00
parent 47e3fda5c6
commit 53cb0c1454
+2 -2
View File
@@ -49,8 +49,8 @@ include "root.php";
if ($this->engine === 'raintpl') { if ($this->engine === 'raintpl') {
include "resources/templates/engine/raintpl/rain.tpl.class.php"; include "resources/templates/engine/raintpl/rain.tpl.class.php";
$this->object = new RainTPL(); $this->object = new RainTPL();
RainTPL::configure( 'tpl_dir', $this->template_dir); RainTPL::configure('tpl_dir', realpath($this->template_dir)."/");
RainTPL::configure( 'cache_dir', $this->cache_dir); RainTPL::configure('cache_dir', realpath($this->cache_dir)."/");
} }
if ($this->engine === 'twig') { if ($this->engine === 'twig') {
require_once "resources/templates/engine/twig/Autoloader.php"; require_once "resources/templates/engine/twig/Autoloader.php";