Skip to content

Commit

Permalink
# 完善隐藏文件
Browse files Browse the repository at this point in the history
  • Loading branch information
Toyo committed Sep 18, 2018
1 parent 212545e commit c1b799a
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions resources/config.php
Expand Up @@ -15,28 +15,26 @@
'*/.ht*',
'resources',
'resources/*',
'ErrorFiles',
'ErrorFiles/*',
'ErrorFiles',
'ErrorFiles/*',
'analytics.inc',
'header.php',
'footer.php',
'*/README.*',
'README.*'
'*.php',
'*.html',
'.well-known',
'.well-known/*',
'*/README.html',
'README.html',
'robots.txt'
),

// Files that, if present in a directory, make the directory
// a direct link rather than a browse link.
'index_files' => array(
'index.htm',
'index.html',
'index.php',
'*/README.*',
'README.*'
'index.php'
),

// 文件 hash 阈值
'hash_size_limit' => 268435456, // 256 MB

// 自定义排序顺序
'reverse_sort' => array(
// 'path/to/folder'
Expand Down

0 comments on commit c1b799a

Please sign in to comment.