Follow on to a9be0691d9 for #1872.

This commit is contained in:
Bharat Mediratta
2012-06-05 21:15:21 -07:00
parent b7074ee595
commit b416d7e3d5
@@ -104,6 +104,7 @@ class Admin_g2_import_Controller extends Admin_Controller {
$path_prefix = Input::instance()->get("q");
foreach (glob("{$path_prefix}*") as $file) {
if (is_dir($file) && !is_link($file)) {
$file = html::clean($file);
$directories[] = $file;
// If we find an embed.php, include it as well