protected function elFinderVolumeDrupal::_mkdir in elFinder file manager 6.2
Same name and namespace in other branches
- 8.2 src/Controller/elFinderVolumeDrupal.php \elFinderVolumeDrupal::_mkdir()
- 7.3 inc/elfinder.drupalfs.driver.inc \elFinderVolumeDrupal::_mkdir()
- 7.2 inc/elfinder.drupalfs.driver.inc \elFinderVolumeDrupal::_mkdir()
* Create dir * *
Parameters
string $path parent dir path: * @param string $name new directory name * @return bool * @author Alexey Sukhotin *
File
- inc/
elfinder.drupalfs.driver.inc, line 88
Class
- elFinderVolumeDrupal
- elFinder driver for Drupal 6 filesystem.
Code
protected function _mkdir($path, $name) {
$path = $path . DIRECTORY_SEPARATOR . $name;
if (mkdir($path)) {
return $path;
}
return FALSE;
}