function imagepicker_init in Image Picker 7
Same name and namespace in other branches
- 6.2 imagepicker.module \imagepicker_init()
Implement hook_init().
File
- ./
imagepicker.module, line 69 - @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function imagepicker_init() {
global $user;
# module_load_include('inc', 'imagepicker', 'imagepicker.theme');
if ($user->uid > 0) {
module_load_include('inc', 'imagepicker', 'imagepicker.functions');
module_load_include('inc', 'imagepicker', 'imagepicker.form-elements');
}
}