* Patch PEAR.php for better detection, if already included.
Thanks to Assen Tchorbadjiev.
This commit is contained in:
parent
56aea725b2
commit
8b612d8a10
@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// }}}
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user