summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Barth2010-09-18 00:44:58 +0000
committerAlex Barth2010-09-18 00:44:58 +0000
commit94b088ff224fc1c85b277451da47fbb7110c2de6 (patch)
treeab0249a7d10d76fc65e7606ca750de16d325deb2
parenta36af571e18c148061f9e38259c07d27a38ec15f (diff)
Fix drupal_system_listing().
-rw-r--r--plugins/FeedsPlugin.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/FeedsPlugin.inc b/plugins/FeedsPlugin.inc
index 2bb0948..debc4ee 100644
--- a/plugins/FeedsPlugin.inc
+++ b/plugins/FeedsPlugin.inc
@@ -88,7 +88,7 @@ abstract class FeedsPlugin extends FeedsConfigurable implements FeedsSourceInter
static $loaded = FALSE;
if (!$loaded) {
$path = drupal_get_path('module', 'feeds') .'/mappers';
- $files = drupal_system_listing('.*\.inc$', $path, 'name', 0);
+ $files = drupal_system_listing('/.*\.inc$/', $path, 'name', 0);
foreach ($files as $file) {
if (strstr($file->filename, '/mappers/')) {
require_once("./$file->filename");