#1438: AgaviSmartyRenderer fails to detect Smarty version 3.1 or later
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: david
Type: defect | Status: assigned
Priority: normal | Milestone: 1.0.7
Component: renderer | Version: 1.0.6
Severity: normal | Keywords:
Has_patch: 0 |
-----------------------+----------------------------------------------------
Changes (by david):
* status: new => assigned
* component: _OTHER_ => renderer
Old description:
> There is an error in AgaviSmartyRenderer in combination with Smarty
> 3.1.4.
> Line 126:
> $this->isSmarty2 = !defined("Smarty::SMARTY_VERSION") ||
> (strpos(Smarty::SMARTY_VERSION, 'Smarty-3') !== 0);
>
> But the value of Smarty::SMARTY_VERSION is: "Smarty 3.1.4"
New description:
There is an error in AgaviSmartyRenderer in combination with Smarty 3.1.4.
Line 126:
{{{
$this->isSmarty2 = !defined("Smarty::SMARTY_VERSION") ||
(strpos(Smarty::SMARTY_VERSION, 'Smarty-3') !== 0);
}}}
But the value of Smarty::SMARTY_VERSION is: "Smarty 3.1.4"
--
--
Ticket URL: <http://trac.agavi.org/ticket/1438#comment:1>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets