mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 23:05:18 -04:00
Follow on to a9be0691d9 for #1872.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user