changed NEWS

This commit is contained in:
Ian 2011-12-05 14:54:14 +01:00
parent b56e45262a
commit 75fafb6bd7

View File

@ -5,13 +5,14 @@ Version 1.7 ()
------------------------------------------------------------------------
* Set the smarty object by instance (ophian)
It is often needed to access the Smarty object from anywhere in your code, e.g. plugins
We now ensure that there is one and only one instance of the object available.
It is often needed to access the Smarty object from anywhere in your code, e.g. in plugins
We now ensure that there is only one instance of the object available.
To obtain an instance of this class: $serendipity['smarty'] = Serendipity_Smarty::getInstance();
The first time this is called a new instance will be created. Thereafter, the same instance is handed back.
To overwrite use $serendipity['smarty'] = new Serendipity_Smarty; to create a new instance.
* Set an global errorToExceptionHandler (ophian)
changed some old smarty trigger_errors to native function
* Set a global Serendipity errorToExceptionHandler (ophian)
changed some old smarty trigger_errors to PHPs native function
* Updated spamblock plugin (ophian)
changed wordfilter to function and Commenters moderation check verify_once