diff options
author | Stig Bakken <ssb@php.net> | 2002-12-16 20:44:50 +0000 |
---|---|---|
committer | Stig Bakken <ssb@php.net> | 2002-12-16 20:44:50 +0000 |
commit | 24975495a74cc4835c727fd814f4ae4f3732bd59 (patch) | |
tree | af1ac672fb5e78e8d9d90db4fe29c573b89c1c70 /pear | |
parent | afa0e1e03e4d77b32be9dd87b704fc0847a8f64c (diff) | |
download | php-git-24975495a74cc4835c727fd814f4ae4f3732bd59.tar.gz |
* fix one missing DIRECTORY_SEPARATOR and a typo
Diffstat (limited to 'pear')
-rw-r--r-- | pear/PEAR/Remote.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pear/PEAR/Remote.php b/pear/PEAR/Remote.php index d7b6e70e52..799929602f 100644 --- a/pear/PEAR/Remote.php +++ b/pear/PEAR/Remote.php @@ -58,7 +58,7 @@ class PEAR_Remote extends PEAR 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 @@ class PEAR_Remote extends PEAR $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 @@ class PEAR_Remote extends PEAR 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)) { |