function imagepicker_fstype in Image Picker 6.2
Same name and namespace in other branches
- 5.2 imagepicker.module \imagepicker_fstype()
1 call to imagepicker_fstype()
- imagepicker_convert_form in ./
imagepicker.admin.inc - files and conversion
7 string references to 'imagepicker_fstype'
File
- ./
imagepicker.admin.inc, line 983 - admin settings functions
Code
function imagepicker_fstype() {
$dir = imagepicker_get_files_directory();
$alphadir = 'a';
if (is_dir($dir . DIRECTORY_SEPARATOR . $alphadir)) {
variable_set('imagepicker_fstype', 'alpha');
}
else {
variable_set('imagepicker_fstype', 'numeric');
}
}