diff --git a/FAQ b/FAQ index b2032ba3..1f0e63b8 100644 --- a/FAQ +++ b/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 (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 ? diff --git a/Smarty.class.php b/Smarty.class.php index b32f7d12..92864eed 100644 --- a/Smarty.class.php +++ b/Smarty.class.php @@ -410,7 +410,7 @@ class Smarty \*======================================================================*/ function register_outputfilter($function) { - $this->_plugins['postfilter'][$function] + $this->_plugins['outputfilter'][$function] = array($function, null, null, false); } diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index b32f7d12..92864eed 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -410,7 +410,7 @@ class Smarty \*======================================================================*/ function register_outputfilter($function) { - $this->_plugins['postfilter'][$function] + $this->_plugins['outputfilter'][$function] = array($function, null, null, false); }