]> git.mjollnir.org Git - s9y.git/commitdiff
Don't try to declare this class, if already existing.
authorgarvinhicking <garvinhicking>
Wed, 25 Jan 2006 10:21:03 +0000 (10:21 +0000)
committergarvinhicking <garvinhicking>
Wed, 25 Jan 2006 10:21:03 +0000 (10:21 +0000)
bundled-libs/PEAR.php

index 6f4d65251ffdbd6e34d00aca88c5a4954533a466..d4cf894a637084bcd726718b85758714085d5d70 100644 (file)
 // $Id: PEAR.php,v 1.83 2005/03/28 16:38:58 cellog Exp $
 //
 
+// Serendipity-Patch
+if (class_exists('PEAR')) {
+    return false;
+}
+// Serendipity-Patch end
+
 define('PEAR_ERROR_RETURN',     1);
 define('PEAR_ERROR_PRINT',      2);
 define('PEAR_ERROR_TRIGGER',    4);
@@ -1052,4 +1058,4 @@ class PEAR_Error
  * c-basic-offset: 4
  * End:
  */
-?>
+?>
\ No newline at end of file