private static function FlmngrServer::reqDirCopy in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7
1 call to FlmngrServer::reqDirCopy()
- FlmngrServer::flmngrRequest in vendor/edsdk/ flmngr-server-php/ src/ FlmngrServer.php 
File
- vendor/edsdk/ flmngr-server-php/ src/ FlmngrServer.php, line 120 
Class
Namespace
EdSDK\FlmngrServerCode
private static function reqDirCopy($config) {
  $dirPath = $_POST['d'];
  $newPath = $_POST['n'];
  try {
    $fileSystem = new FMDiskFileSystem($config);
    $fileSystem
      ->copyDir($dirPath, $newPath);
    return new Response(NULL, TRUE);
  } catch (MessageException $e) {
    return new Response($e
      ->getFailMessage(), NULL);
  }
}