diff --git a/filemin/filemin-lib.pl b/filemin/filemin-lib.pl
index 88b0278f2..633b0db14 100644
--- a/filemin/filemin-lib.pl
+++ b/filemin/filemin-lib.pl
@@ -136,7 +136,9 @@ sub print_interface {
print "";
print "";
print "";
- init_datatables();
+ if ($current_theme eq 'bootstrap') {
+ init_datatables();
+ }
# Set "root" icon
if($base eq '/') {
$root_icon = "";
@@ -161,7 +163,7 @@ sub print_interface {
print_template("unauthenticated/templates/quicks.html");
}
$page = 1;
- $pagelimit = 9001; # IT'S OVER NINE THOUSAND!
+ $pagelimit = 4294967295; # The number of maximum files in a directory for EXT4. 9000+ is way to little
print_template("unauthenticated/templates/dialogs.html");
} else {
# Interface for legacy themes