cvs: pearweb /include xmlrpc-methods.php

From: Date: Mon, 23 Apr 2007 04:16:57 +0000
Subject: cvs: pearweb /include xmlrpc-methods.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-46109@lists.php.net to get a copy of this message
cellog Mon Apr 23 04:16:57 2007 UTC Modified files: /pearweb/include xmlrpc-methods.php Log: fix all XML-RPC http://cvs.php.net/viewvc.cgi/pearweb/include/xmlrpc-methods.php?r1=1.18&r2=1.19&diff_format=u Index: pearweb/include/xmlrpc-methods.php diff -u pearweb/include/xmlrpc-methods.php:1.18 pearweb/include/xmlrpc-methods.php:1.19 --- pearweb/include/xmlrpc-methods.php:1.18 Sun Apr 22 01:51:35 2007 +++ pearweb/include/xmlrpc-methods.php Mon Apr 23 04:16:57 2007 @@ -13,7 +13,7 @@ | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ - | Authors: Stig Sæther Bakken <ssb@fast.no> | + | Authors: Stig S�ther Bakken <ssb@fast.no> | | | +----------------------------------------------------------------------+ */ @@ -88,6 +88,12 @@ $function = $xmlrpc_method_index["index"][$method_name][$type_key]; if (strstr($function, "::")) { $function = explode("::", $function); + if (!class_exists($function[0])) { + if ($fp = @fopen('pear-database-' . $function[0] . '.php', 'r', true)) { + fclose($fp); + require_once 'pear-database-' . $function[0] . '.php'; + } + } } $ret = call_user_func_array($function, $params); if (PEAR::isError($ret)) {

« previous php.pear.cvs (#46109) next »