You are here

protected function elFinderVolumeDrupal::_mkdir in elFinder file manager 7.2

Same name and namespace in other branches
  1. 8.2 src/Controller/elFinderVolumeDrupal.php \elFinderVolumeDrupal::_mkdir()
  2. 6.2 inc/elfinder.drupalfs.driver.inc \elFinderVolumeDrupal::_mkdir()
  3. 7.3 inc/elfinder.drupalfs.driver.inc \elFinderVolumeDrupal::_mkdir()

Create dir

@author Alexey Sukhotin

Parameters

string $path parent dir path:

string $name new directory name:

Return value

bool

File

inc/elfinder.drupalfs.driver.inc, line 89
elFinder driver for Drupal filesystem.

Class

elFinderVolumeDrupal
@file

Code

protected function _mkdir($path, $name) {
  $path = $path . DIRECTORY_SEPARATOR . $name;
  if (@drupal_mkdir($path)) {
    return $path;
  }
  return FALSE;
}