cvs: smarty / FAQ Smarty.class.php
| From: | Monte Ohrt | Date: | Thu, 02 May 2002 14:34:35 +0000 |
| Subject: | cvs: smarty / FAQ Smarty.class.php | ||
| Groups: | php.smarty.cvs | ||
| Request: | Send a blank email to php-smarty-cvs+get-93@lists.php.net to get a copy of this message | ||
mohrt Thu May 2 10:34:35 2002 EDT
Modified files:
/smarty FAQ Smarty.class.php
Log:
fix register_outputfilter function
Index: smarty/FAQ
diff -u smarty/FAQ:1.36 smarty/FAQ:1.37
--- smarty/FAQ:1.36 Fri Apr 26 10:08:17 2002
+++ smarty/FAQ Thu May 2 10:34:35 2002
@@ -6,7 +6,7 @@
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>?
Index: smarty/Smarty.class.php
diff -u smarty/Smarty.class.php:1.273 smarty/Smarty.class.php:1.274
--- smarty/Smarty.class.php:1.273 Wed May 1 11:40:44 2002
+++ smarty/Smarty.class.php Thu May 2 10:34:35 2002
@@ -410,7 +410,7 @@
\*======================================================================*/
function register_outputfilter($function)
{
- $this->_plugins['postfilter'][$function]
+ $this->_plugins['outputfilter'][$function]
= array($function, null, null, false);
}