summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Haug2010-12-06 00:30:06 (GMT)
committer Nathan Haug2010-12-06 00:30:06 (GMT)
commite44d7f9d1211f3be014fec8ab1cfefa333d003bb (patch)
tree8c9d9c4c03623ad1237f4cdc4f80f3398665fd0b
parent5ba167d0ba60ba7e2037aca08f39486e80fd8afa (diff)
#791542: Adding module_load() to ensure the existence of filefield_progress_implementation().
-rw-r--r--filefield.install1
1 files changed, 1 insertions, 0 deletions
diff --git a/filefield.install b/filefield.install
index 4b9dc8a..f4d3578 100644
--- a/filefield.install
+++ b/filefield.install
@@ -54,6 +54,7 @@ function filefield_requirements($phase) {
// Report Drupal version
if ($phase == 'runtime') {
+ drupal_load('module', 'filefield');
$implementation = filefield_progress_implementation();
$apache = strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') !== FALSE;
$fastcgi = strpos($_SERVER['SERVER_SOFTWARE'], 'mod_fastcgi') !== FALSE || strpos($_SERVER["SERVER_SOFTWARE"], 'mod_fcgi') !== FALSE;