yii2-flysystem icon indicating copy to clipboard operation
yii2-flysystem copied to clipboard

Bug? cant copy file /tmp/phpBlablabla

Open maxyc opened this issue 9 years ago • 1 comments

League\Flysystem\FileNotFoundException File not found at path: tmp/phpkiLfKz

public function copy($path, $newpath)
    {
        $path = Util::normalizePath($path);  // <-- bug here
        $newpath = Util::normalizePath($newpath);
        $this->assertPresent($path);
        $this->assertAbsent($newpath);

        return $this->getAdapter()->copy($path, $newpath);
    }

maxyc avatar Dec 26 '15 14:12 maxyc

file

maxyc avatar Dec 26 '15 14:12 maxyc