mirror of
https://github.com/webmin/webmin.git
synced 2025-07-20 16:48:46 +00:00
Fix Cron edit files manually page not display directories #1978 [build]
This commit is contained in:
@ -1603,6 +1603,7 @@ if ($config{'system_crontab'}) {
|
||||
}
|
||||
if ($config{'cronfiles_dir'}) {
|
||||
push(@files, glob(&translate_filename($config{'cronfiles_dir'})."/*"));
|
||||
@files = grep { -f $_ } @files;
|
||||
}
|
||||
return &unique(@files);
|
||||
}
|
||||
|
Reference in New Issue
Block a user