[Finder] Fix SplFileInfo::getContents isn't working with ssh2 protocol

This commit is contained in:
alquerci 2013-06-10 20:35:46 +02:00
parent f4788121eb
commit 849f3ed7e9
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class SplFileInfo extends \SplFileInfo
public function getContents()
{
$level = error_reporting(0);
$content = file_get_contents($this->getRealpath());
$content = file_get_contents($this->getPathname());
error_reporting($level);
if (false === $content) {
$error = error_get_last();