From: garvinhicking Date: Mon, 26 Sep 2005 09:43:50 +0000 (+0000) Subject: rpc dependencies X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9d2678667824508b8bcd58915fa518e3390e0eed;p=s9y.git rpc dependencies --- diff --git a/include/functions.inc.php b/include/functions.inc.php index 79d6d9b..0f91508 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -6,7 +6,6 @@ $serendipity['imageList'] = array(); include_once(S9Y_INCLUDE_PATH . "include/db/db.inc.php"); include_once(S9Y_INCLUDE_PATH . "include/compat.inc.php"); include_once(S9Y_INCLUDE_PATH . "include/functions_config.inc.php"); -include_once(S9Y_PEAR_PATH . "XML/RPC.php"); include_once(S9Y_INCLUDE_PATH . "include/plugin_api.inc.php"); include_once(S9Y_INCLUDE_PATH . "include/functions_images.inc.php"); include_once(S9Y_INCLUDE_PATH . "include/functions_installer.inc.php"); diff --git a/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php b/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php index dcf9d9c..c73c857 100644 --- a/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php +++ b/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php @@ -159,6 +159,8 @@ class serendipity_event_weblogping extends serendipity_event break; case 'backend_publish': + include_once(S9Y_PEAR_PATH . "XML/RPC.php"); + // First cycle through list of services to remove superseding services which may have been checked foreach ($this->services as $index => $service) { if (!empty($service['supersedes']) && isset($serendipity['POST']['announce_entries_' . $service['name']])) {