You are here

public static function UtilsPHP::copyFile in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7

1 call to UtilsPHP::copyFile()
AFile::copyTo in vendor/edsdk/file-uploader-server-php/src/lib/file/AFile.php

File

vendor/edsdk/file-uploader-server-php/src/lib/file/UtilsPHP.php, line 38

Class

UtilsPHP

Namespace

EdSDK\FileUploaderServer\lib\file

Code

public static function copyFile($src, $dst) {
  if (!copy($src, $dst)) {
    throw new Exception('Unable to copy file ' . $src . ' to ' . $dst);
  }
}