cvs: php4 /pear/PEAR Remote.php
| From: | Stig Bakken | Date: | Mon, 16 Dec 2002 20:44:50 +0000 |
| Subject: | cvs: php4 /pear/PEAR Remote.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-7906@lists.php.net to get a copy of this message | ||
ssb Mon Dec 16 15:44:50 2002 EDT
Modified files:
/php4/pear/PEAR Remote.php
Log:
* fix one missing DIRECTORY_SEPARATOR and a typo
Index: php4/pear/PEAR/Remote.php
diff -u php4/pear/PEAR/Remote.php:1.36 php4/pear/PEAR/Remote.php:1.37
--- php4/pear/PEAR/Remote.php:1.36 Sun Nov 24 05:15:25 2002
+++ php4/pear/PEAR/Remote.php Mon Dec 16 15:44:50 2002
@@ -16,7 +16,7 @@
// | Author: Stig Bakken <ssb@fast.no> |
// +----------------------------------------------------------------------+
//
-// $Id: Remote.php,v 1.36 2002/11/24 10:15:25 dickmann Exp $
+// $Id: Remote.php,v 1.37 2002/12/16 20:44:50 ssb Exp $
require_once 'PEAR.php';
require_once 'PEAR/Config.php';
@@ -58,7 +58,7 @@
if (!file_exists($cachedir)) {
System::mkdir('-p '.$cachedir);
}
- $filename = $cachedir.'/xmlrpc_cache_'.$id;
+ $filename = $cachedir . DIRECTORY_SEPARATOR . 'xmlrpc_cache_' . $id;
if (!file_exists($filename)) {
return null;
};
@@ -313,16 +313,16 @@
$lastkey = key($php_val);
if ($firstkey === 0 && is_int($lastkey) &&
($lastkey + 1) == count($php_val)) {
- $is_continous = true;
+ $is_continuous = true;
reset($php_val);
$size = count($php_val);
for ($expect = 0; $expect < $size; $expect++, next($php_val)) {
if (key($php_val) !== $expect) {
- $is_continous = false;
+ $is_continuous = false;
break;
}
}
- if ($is_continous) {
+ if ($is_continuous) {
reset($php_val);
$arr = array();
while (list($k, $v) = each($php_val)) {
@@ -332,7 +332,7 @@
break;
}
}
- // fall though if not numerical and continous
+ // fall though if not numerical and continuous
case "object":
$arr = array();
while (list($k, $v) = each($php_val)) {