Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Toyo committed Aug 20, 2018
1 parent eedc677 commit d8879e7
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions README.md
Expand Up @@ -11,9 +11,10 @@

### 更新记录

- 2018/08/20,更新了网站式样 - 素色简洁风(参见下图)。
- 2018/07/18,修复了当程序位置网站子目录下时,CSS JS 路径错误的问题。
- 2018/03/26,修复了当前文件夹下无 README.html 文件时,PHP会提示警告的问题。
- 2018/08/20,更新 不需要再手动配置域名后缀了,新版本会自动检测。
- 2018/08/20,更新 网站式样 - 素色简洁风(参见下图)。
- 2018/07/18,修复 当程序位置网站子目录下时,CSS JS 路径错误的问题。
- 2018/03/26,修复 当前文件夹下无 README.html 文件时,PHP会提示警告的问题。

![新旧式样手机效果对比](https://github.com/ToyoDAdoubi/DirectoryLister/raw/master/Compared.png)

Expand Down Expand Up @@ -67,12 +68,6 @@ sed -i 's/,scandir//g' /usr/local/php/etc/php.ini

我也不知道该给这个功能起什么名字,好捉急偶。

使用这个功能,需要打开` resources\themes\bootstrap\index.php `文件,找到第五行的:
``` bash
$md_path = explode("com", $md_path_all);
```
` com `改成你的域名后缀(比如` xxx.cn `就是改成` cn `),当初只是自用,现在一公开开源,我给忘了。

反正就是每个文件夹下面放一个` README.html `文件,这个文件里写着 简介说明内容即可。

为了避免中文乱码,把` README.html `文件用 UTF-8无BOM编码 保存!
Expand Down

0 comments on commit d8879e7

Please sign in to comment.