function imagepicker_init in Image Picker 6.2
Same name and namespace in other branches
- 7 imagepicker.module \imagepicker_init()
Implementation of hook_init().
File
- ./
imagepicker.module, line 41 - Enables permitted roles to upload images for insertion into configured nodes.
Code
function imagepicker_init() {
global $user;
if ($user->uid > 0) {
module_load_include('inc', 'imagepicker', 'imagepicker.functions');
module_load_include('inc', 'imagepicker', 'imagepicker.form-elements');
}
}