protected function elFinderVolumeDrupal::_mkdir in elFinder file manager 7.3
Same name and namespace in other branches
- 8.2 src/Controller/elFinderVolumeDrupal.php \elFinderVolumeDrupal::_mkdir()
- 6.2 inc/elfinder.drupalfs.driver.inc \elFinderVolumeDrupal::_mkdir()
- 7.2 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 77 - 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;
}