You are here

function elfinder_find_file in elFinder file manager 6

Use ereg() expression syntax for compatibility

File

./elfinder.module, line 760

Code

function elfinder_find_file($matchexpr, $path) {
  $res = array();
  $res = file_scan_directory($matchexpr, $path);
  return key($res);
}