Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Updating to Talus TPL 1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
Taluu committed Sep 15, 2011
1 parent cccc31e commit 82b4e1a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions libs/View/TalusTPL.php
Expand Up @@ -11,7 +11,8 @@

namespace Tamed\View;

require __DIR__ . '\..\..\vendor\Talus-TPL\lib\Talus_TPL\Main.php';
// -- Note : to be replaced by the PSR-0 implementation
require __DIR__ . '\..\..\vendor\Talus-TPL\lib\Talus_TPL\Engine.php';

/**
* Definition of a view written in Talus TPL syntax
Expand All @@ -34,7 +35,7 @@ class TalusTPL extends Bridge {
*/
public function __construct() {
$dir = __DIR__ . '/../../views/';
$this->_engine = new \Talus_TPL($dir . 'templates', $dir . 'cache', array());
$this->_engine = new \Talus_TPL_Engine($dir . 'templates', $dir . 'cache', array());
}

/**
Expand Down Expand Up @@ -62,7 +63,7 @@ public function getEngineInfos($info = self::INFO_ALL) {
}

if ($info & self::INFO_VERSION) {
$return[] = \Talus_TPL::VERSION;
$return[] = \Talus_TPL_Engine::VERSION;
}

if ($info & self::INFO_ENGINE) {
Expand Down
2 changes: 1 addition & 1 deletion vendor/Talus-TPL

0 comments on commit 82b4e1a

Please sign in to comment.