-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.php
More file actions
38 lines (37 loc) · 883 Bytes
/
config.php
File metadata and controls
38 lines (37 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
$siteinfo = array(
"site_name" => "<i class='fa fa-sitemap' aria-hidden='true'></i> Timmy的云盘",
"title" => "Timmy的云盘",
"keywords" => "zdir,h5ai,Directory Lister,Fdscript,目录列表,目录索引",
"description" => "Zdir是一款使用PHP开发的目录列表程序,简单实用,免费开源。"
);
//需要忽略的目录
$ignore = array(
".",
".git",
".user.ini",
"favicon.ico",
"functions",
"config.php",
"index.php",
"static",
"LICENSE",
"template",
"cache.php",
"indexes.php",
"README.md",
"zdir-install.sh"
);
//设置IP与密码
$config = array(
"allowip" => array(
//"0.0.0.0", //注意设置为0.0.0.0则不限制IP,更多说明请参考帮助文档:https://doc.xiaoz.me/#/zdir/
"::1",
"127.0.0.1",
"192.168.1.",
"192.168.2."
),
"password" => "password",
"auth" => FALSE
);
?>