You are here

private function FMDiskFileSystem::getRootDirName in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7

2 calls to FMDiskFileSystem::getRootDirName()
FMDiskFileSystem::getRelativePath in vendor/edsdk/flmngr-server-php/src/fs/FMDiskFileSystem.php
FMDiskFileSystem::resizeFile in vendor/edsdk/flmngr-server-php/src/fs/FMDiskFileSystem.php

File

vendor/edsdk/flmngr-server-php/src/fs/FMDiskFileSystem.php, line 224

Class

FMDiskFileSystem

Namespace

EdSDK\FlmngrServer\fs

Code

private function getRootDirName() {
  $i = strrpos($this->dirFiles, "/");
  if ($i === FALSE) {
    return $this->dirFiles;
  }
  return substr($this->dirFiles, $i + 1);
}