Browse Source

Add hidden dirs option

k4be 1 year ago
parent
commit
290cec1838
1 changed files with 2 additions and 0 deletions
  1. 2 0
      include/db.php

+ 2 - 0
include/db.php

@@ -50,6 +50,8 @@ function get_dir_list() {
 		die();
 		die();
 	}
 	}
 	while ($row = $res->fetch(PDO::FETCH_ASSOC)) {
 	while ($row = $res->fetch(PDO::FETCH_ASSOC)) {
+		if ($row['hidden'])
+			continue;
 		$dir[] = $row;
 		$dir[] = $row;
 
 
 	}
 	}