summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Haug2009-07-03 20:27:16 (GMT)
committer Nathan Haug2009-07-03 20:27:16 (GMT)
commit0002a6e11ba301183ad2bc7eb1ebec62cecea6ba (patch)
tree898ad157ea134e0c36d491fd17bf99985c1a83ae
parent5deb9b77f90c9cee3560ebb25445f688a6abb91e (diff)
#505862: Make required includes available during install profiles.
-rw-r--r--filefield.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/filefield.module b/filefield.module
index 7870b9c..37c2eed 100644
--- a/filefield.module
+++ b/filefield.module
@@ -10,14 +10,14 @@
*/
// FileField API hooks should always be available.
-include_once dirname(__FILE__) .'/field_file.inc';
+include_once dirname(__FILE__) . '/field_file.inc';
+include_once dirname(__FILE__) . '/filefield_widget.inc';
/**
* Implementation of hook_init().
*/
function filefield_init() {
// File hooks and callbacks may be used by any module.
- module_load_include('inc', 'filefield', 'filefield_widget');
drupal_add_css(drupal_get_path('module', 'filefield') .'/filefield.css');
// Conditional module support.