You are here

private static function FlmngrServer::reqDirList in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7

1 call to FlmngrServer::reqDirList()
FlmngrServer::flmngrRequest in vendor/edsdk/flmngr-server-php/src/FlmngrServer.php

File

vendor/edsdk/flmngr-server-php/src/FlmngrServer.php, line 160

Class

FlmngrServer

Namespace

EdSDK\FlmngrServer

Code

private static function reqDirList($config) {
  try {
    $fileSystem = new FMDiskFileSystem($config);
    $dirs = $fileSystem
      ->getDirs();
  } catch (MessageException $e) {
    return new Response($e
      ->getFailMessage(), NULL);
  }
  return new Response(NULL, $dirs);
}