git://git.onelab.eu
/
www-register-wizard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
upgrade to codeigniter 1.7.2 for f12
[www-register-wizard.git]
/
libraries
/
Xmlrpcs.php
diff --git
a/libraries/Xmlrpcs.php
b/libraries/Xmlrpcs.php
index
cdbdee9
..
c7daa60
100644
(file)
--- a/
libraries/Xmlrpcs.php
+++ b/
libraries/Xmlrpcs.php
@@
-6,7
+6,7
@@
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
- * @copyright Copyright (c) 2008, EllisLab, Inc.
+ * @copyright Copyright (c) 2008
- 2009
, EllisLab, Inc.
* @license http://codeigniter.com/user_guide/license.html
* @link http://codeigniter.com
* @since Version 1.0
* @license http://codeigniter.com/user_guide/license.html
* @link http://codeigniter.com
* @since Version 1.0
@@
-123,7
+123,7
@@
class CI_Xmlrpcs extends CI_Xmlrpc
header("Content-Type: text/xml");
header("Content-Length: ".strlen($payload));
header("Content-Type: text/xml");
header("Content-Length: ".strlen($payload));
- e
cho $payload
;
+ e
xit($payload)
;
}
//-------------------------------------
}
//-------------------------------------
@@
-204,7
+204,7
@@
class CI_Xmlrpcs extends CI_Xmlrpc
$m = new XML_RPC_Message($parser_object->xh[$parser]['method']);
$plist='';
$m = new XML_RPC_Message($parser_object->xh[$parser]['method']);
$plist='';
- for($i=0; $i <
sizeof
($parser_object->xh[$parser]['params']); $i++)
+ for($i=0; $i <
count
($parser_object->xh[$parser]['params']); $i++)
{
if ($this->debug === TRUE)
{
{
if ($this->debug === TRUE)
{
@@
-289,13
+289,13
@@
class CI_Xmlrpcs extends CI_Xmlrpc
if (isset($this->methods[$methName]['signature']))
{
$sig = $this->methods[$methName]['signature'];
if (isset($this->methods[$methName]['signature']))
{
$sig = $this->methods[$methName]['signature'];
- for($i=0; $i<
sizeof
($sig); $i++)
+ for($i=0; $i<
count
($sig); $i++)
{
$current_sig = $sig[$i];
{
$current_sig = $sig[$i];
- if (
sizeof($current_sig) == sizeof
($m->params)+1)
+ if (
count($current_sig) == count
($m->params)+1)
{
{
- for($n=0; $n <
sizeof
($m->params); $n++)
+ for($n=0; $n <
count
($m->params); $n++)
{
$p = $m->params[$n];
$pt = ($p->kindOf() == 'scalar') ? $p->scalarval() : $p->kindOf();
{
$p = $m->params[$n];
$pt = ($p->kindOf() == 'scalar') ? $p->scalarval() : $p->kindOf();
@@
-385,11
+385,11
@@
class CI_Xmlrpcs extends CI_Xmlrpc
$sigs = array();
$signature = $this->methods[$method_name]['signature'];
$sigs = array();
$signature = $this->methods[$method_name]['signature'];
- for($i=0; $i <
sizeof
($signature); $i++)
+ for($i=0; $i <
count
($signature); $i++)
{
$cursig = array();
$inSig = $signature[$i];
{
$cursig = array();
$inSig = $signature[$i];
- for($j=0; $j<
sizeof
($inSig); $j++)
+ for($j=0; $j<
count
($inSig); $j++)
{
$cursig[]= new XML_RPC_Values($inSig[$j], 'string');
}
{
$cursig[]= new XML_RPC_Values($inSig[$j], 'string');
}
@@
-451,7
+451,7
@@
class CI_Xmlrpcs extends CI_Xmlrpc
$m = new XML_RPC_Message($value[0]);
$plist='';
$m = new XML_RPC_Message($value[0]);
$plist='';
- for($i=0; $i <
sizeof
($value[1]); $i++)
+ for($i=0; $i <
count
($value[1]); $i++)
{
$m->addParam(new XML_RPC_Values($value[1][$i], 'string'));
}
{
$m->addParam(new XML_RPC_Values($value[1][$i], 'string'));
}
@@
-510,7
+510,7
@@
class CI_Xmlrpcs extends CI_Xmlrpc
return $this->multicall_error('notarray');
list($a,$b)=each($params->me);
return $this->multicall_error('notarray');
list($a,$b)=each($params->me);
- $numParams =
sizeof
($b);
+ $numParams =
count
($b);
$msg = new XML_RPC_Message($scalar_value);
for ($i = 0; $i < $numParams; $i++)
$msg = new XML_RPC_Message($scalar_value);
for ($i = 0; $i < $numParams; $i++)