function elfinder_lib_path in elFinder file manager 7
Same name and namespace in other branches
- 8.2 elfinder.module \elfinder_lib_path()
- 6.2 elfinder.module \elfinder_lib_path()
- 6 elfinder.module \elfinder_lib_path()
- 7.3 elfinder.module \elfinder_lib_path()
- 7.2 elfinder.module \elfinder_lib_path()
library files path
5 calls to elfinder_lib_path()
- elfinder_check_badpaths in ./
elfinder.module - elfinder_connector_path in ./
elfinder.module - library to filesystem connector path
- elfinder_file_browser in ./
elfinder.module - File browser render
- elfinder_requirements in ./
elfinder.install - Implements hook_requirements().
- elfinder_theme in ./
elfinder.module - Implements hook_theme().
File
- ./
elfinder.module, line 526
Code
function elfinder_lib_path($name = 'elfinder') {
$libraries =& drupal_static(__FUNCTION__);
if (!isset($libraries)) {
$libraries = elfinder_get_libraries();
}
$path = '';
if (!isset($libraries[$name])) {
return FALSE;
}
else {
$path .= $libraries[$name];
}
return $path;
}