mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
fix register_outputfilter function
This commit is contained in:
2
FAQ
2
FAQ
@@ -6,7 +6,7 @@ GENERAL
|
||||
Q: What is Smarty?
|
||||
Q: What's the difference between Smarty and other template engines?
|
||||
Q: What do you mean "Compiled PHP Scripts" ?
|
||||
Q: Why can't I just use APC <http://apc.communityconnect.com/> (or Zend Cache)?
|
||||
Q: Why can't I just use PHPA (http://php-accelerator.co.uk) or Zend Cache?
|
||||
Q: Why does smarty have a built in cache? Wouldn't it be better to handle this
|
||||
in a separate class?
|
||||
Q: Is Smarty faster than <insert other PHP template engine>?
|
||||
|
@@ -410,7 +410,7 @@ class Smarty
|
||||
\*======================================================================*/
|
||||
function register_outputfilter($function)
|
||||
{
|
||||
$this->_plugins['postfilter'][$function]
|
||||
$this->_plugins['outputfilter'][$function]
|
||||
= array($function, null, null, false);
|
||||
}
|
||||
|
||||
|
@@ -410,7 +410,7 @@ class Smarty
|
||||
\*======================================================================*/
|
||||
function register_outputfilter($function)
|
||||
{
|
||||
$this->_plugins['postfilter'][$function]
|
||||
$this->_plugins['outputfilter'][$function]
|
||||
= array($function, null, null, false);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user