We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
发现一个关于目录的bug,不知道是不是只有我是这样,就是如果目录前面带#号的话,会出现目录下的文件无法下载,点击下载直接回到主页,如目录名:#最新版。
希望作者可以测试一下,本人来自LOC论坛
The text was updated successfully, but these errors were encountered:
# 识别为位置标识符。
Sorry, something went wrong.
function download($file){ $file=str_replace('#','%23',$file);//只添加该行 return "<a href=\"".$file."\" ><span class=\"glyphicon glyphicon-download-alt\"></span></a>"; }
download方法换成以上方法, 原理把#替换为%23即可; -奇怪,urlencode用了居然无法下载,暂时先这样了-
No branches or pull requests
发现一个关于目录的bug,不知道是不是只有我是这样,就是如果目录前面带#号的话,会出现目录下的文件无法下载,点击下载直接回到主页,如目录名:#最新版。
希望作者可以测试一下,本人来自LOC论坛
The text was updated successfully, but these errors were encountered: