一款简易目录列表源码

本文阅读 1 分钟
首页 源码 正文

QQ截图20240102215725.png

官网地址:https://files.photo.gallery/

本站提供去版权开心版:files.zip

如何去掉授权提示信息?

编辑文件末尾,把

<script src="<?php echo config::$assets ?>js/files.js"></script>

改成

<script src="https://cdn.jsdelivr.net/gh/yyingc/js@v2.0/files.js"></script>

根目录修改

// 根目录配置
'root' => '根目录路径', // root path relative to script.
'start_path' => false, // start path relative to script. If empty, root is start path

// 登录账号密码配置
'username' => 'cnmini',
'password' => '12345678', // Add password directly or use https://tinyfilemanager.github.io/docs/pwd.html to encrypt the password (encrypted password is more secure, as it prevents your password from being exposed directly in a file).

// 排除文件或者目录
'files_exclude' => '/\.(html|xml)$/i', // '/\.(pdf|jpe?g)$/i'
'dirs_exclude' => '/\/js|\/_files(\/|$)/i', //'/\/Convert|\/football|\/node_modules(\/|$)/i',
'allow_symlinks' => true, // allow symlinks
本文来自投稿,不代表本站立场,如若转载,请注明出处:http://cnmini.net/index.php/archives/601/
李跳跳2.2-GKD-规则
« 上一篇 12-19
Discuz发帖时“您有 xxx个未使用的图片”问题的解决方法
下一篇 » 01-09

发表评论

成为第一个评论的人