You are here

function elfinder_prepare_directory in elFinder file manager 6

Same name and namespace in other branches
  1. 8.2 elfinder.module \elfinder_prepare_directory()
  2. 6.2 elfinder.module \elfinder_prepare_directory()
  3. 7.3 elfinder.module \elfinder_prepare_directory()
  4. 7 elfinder.module \elfinder_prepare_directory()
  5. 7.2 elfinder.module \elfinder_prepare_directory()

prepare directory for files

2 calls to elfinder_prepare_directory()
elfinder_admin_form_validate in inc/elfinder.admin.inc
Validate form data
elfinder_connector in ./elfinder.module
File browser to filesystem php connector callback

File

./elfinder.module, line 739

Code

function elfinder_prepare_directory($directory) {
  $rc = NULL;
  $rc = file_check_directory($directory, FILE_CREATE_DIRECTORY);
  return $rc;
}