* Patch PEAR.php for better detection, if already included.

Thanks to Assen Tchorbadjiev.
This commit is contained in:
Garvin Hicking 2007-10-18 17:43:39 +00:00
parent 56aea725b2
commit 8b612d8a10
2 changed files with 6 additions and 2 deletions

View File

@ -22,7 +22,7 @@
//
// Serendipity-Patch
if (class_exists('PEAR')) {
if (defined('PEAR_ERROR_RETURN')) {
return false;
}
// Serendipity-Patch end
@ -738,7 +738,7 @@ class PEAR
}
// {{{ _PEAR_call_destructors()
if (!function_exists('_PEAR_call_destructors')) {
function _PEAR_call_destructors()
{
global $_PEAR_destructor_object_list;
@ -773,6 +773,7 @@ function _PEAR_call_destructors()
}
}
}
}
// }}}

View File

@ -3,6 +3,9 @@
Version 1.3 ()
------------------------------------------------------------------------
* Patch PEAR.php for better detection, if already included.
Thanks to Assen Tchorbadjiev.
* Fix wrong entry timestamp used in comment feeds (garvinhicking)
* Add experimental DB layer for "SQLRelay" database proxy extension,