mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-06-08 00:42:19 +02:00
Merge 359b05289f
into 8e87afae5b
This commit is contained in:
commit
fe2fbfdaa2
|
@ -2573,6 +2573,12 @@ function fm_is_exclude_items($file) {
|
||||||
$exclude_items = unserialize($exclude_items);
|
$exclude_items = unserialize($exclude_items);
|
||||||
}
|
}
|
||||||
if (!in_array($file, $exclude_items) && !in_array("*.$ext", $exclude_items)) {
|
if (!in_array($file, $exclude_items) && !in_array("*.$ext", $exclude_items)) {
|
||||||
|
|
||||||
|
//check .min.
|
||||||
|
if( false !== strpos( $file, '.min.') && in_array("*.min.$ext", FM_EXCLUDE_ITEMS) ){
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue