From f97bdb9a8a5dda67acd2019f96d29f35caa7c8ab Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 16 Mar 2011 16:00:28 +0800 Subject: [PATCH] Generator.php --- Generator.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Generator.php b/Generator.php index 0038cb6e..2e58dcbb 100644 --- a/Generator.php +++ b/Generator.php @@ -151,6 +151,8 @@ class Pman_Core_Generator extends DB_DataObject_Generator if (!empty($options['mods'] ) && !in_array($m, $options['mods'] )) { continue; } + + foreach(scandir($options['rootDir'].'/'.$m) as $f) { if (!strlen($f) || $f[0] == '.') { continue; -- 2.39.2