fix register_outputfilter function

This commit is contained in:
mohrt
2002-05-02 14:34:35 +00:00
parent dbaa2e6439
commit 9b20e26885
3 changed files with 3 additions and 3 deletions

2
FAQ
View File

@@ -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>?

View File

@@ -410,7 +410,7 @@ class Smarty
\*======================================================================*/
function register_outputfilter($function)
{
$this->_plugins['postfilter'][$function]
$this->_plugins['outputfilter'][$function]
= array($function, null, null, false);
}

View File

@@ -410,7 +410,7 @@ class Smarty
\*======================================================================*/
function register_outputfilter($function)
{
$this->_plugins['postfilter'][$function]
$this->_plugins['outputfilter'][$function]
= array($function, null, null, false);
}