function oa_files_admin_paths in Open Atrium Files 7.2
Implements hook_admin_paths().
File
- ./
oa_files.module, line 635
Code
function oa_files_admin_paths() {
$paths = array();
$dialog_theme = variable_get('media_dialog_theme', '');
if (empty($dialog_theme) || $dialog_theme == variable_get('admin_theme')) {
$paths['oa-files/upload'] = TRUE;
$paths['oa-files/upload/*'] = TRUE;
}
return $paths;
}