@@ -405,10 +405,10 @@ discard block |
||
| 405 | 405 | * Important: PHP 5.0 introduced a bug that wasn't fixed until 5.1: the return value has to be the oposite! |
| 406 | 406 | * |
| 407 | 407 | * if(version_compare(PHP_VERSION,'5.0','>=') && version_compare(PHP_VERSION,'5.1','<')) |
| 408 | - * { |
|
| 408 | + * { |
|
| 409 | 409 | * $eof = !$eof; |
| 410 | 410 | * } |
| 411 | - * |
|
| 411 | + * |
|
| 412 | 412 | * @return boolean true if the read/write position is at the end of the stream and no more data availible, false otherwise |
| 413 | 413 | */ |
| 414 | 414 | function stream_eof ( ) |
@@ -916,7 +916,7 @@ discard block |
||
| 916 | 916 | if (self::LOG_LEVEL > 1) error_log(__METHOD__."('$path',$flags,'$url'): ".function_backtrace(1)); |
| 917 | 917 | |
| 918 | 918 | while (($rel_path = Vfs::basename($url).($rel_path ? '/'.$rel_path : '')) && |
| 919 | - ($url = Vfs::dirname($url))) |
|
| 919 | + ($url = Vfs::dirname($url))) |
|
| 920 | 920 | { |
| 921 | 921 | if (($stat = $this->url_stat($url, 0, false, false))) |
| 922 | 922 | { |