+// Configuration:
+
+// List of filenames (and folder names) that should be ignored.
+$ignore_file_list = [
+ '.htaccess', '.htpasswd', // Apache junk files
+ 'Thumbs.db', '.DS_Store', // OS junk files
+ 'index.php', 'index.html', // Potential other index files
+ '.git', 'vendor', // Dev
+ 'dirlistozxa.php', '.dirlistozxa', '.thumbs', 'gen-thumbs' // dirlistozxa
+];
+
+// ================
+
+// Lazy sanitisation done if the web server somehow sends idiotic input,
+// nginx with default configuration (merge_slashes) doesn't actually need this.
+$_SERVER['REQUEST_URI'] = str_replace('../', '', $_SERVER['REQUEST_URI']);
+