Skip to content
Snippets Groups Projects
Commit e598995f authored by echicken's avatar echicken :chicken:
Browse files

Check directory download_ars in addition to can_download,

maybe that'll do something.
parent 014ee477
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #307 passed
...@@ -20,6 +20,7 @@ if ((http_request.method === 'GET' || http_request.method === 'POST') && ...@@ -20,6 +20,7 @@ if ((http_request.method === 'GET' || http_request.method === 'POST') &&
file_area.dir[http_request.query.dir[0]].index >= 0 && file_area.dir[http_request.query.dir[0]].index >= 0 &&
file_area.dir[http_request.query.dir[0]].can_download && file_area.dir[http_request.query.dir[0]].can_download &&
typeof http_request.query.file !== 'undefined' typeof http_request.query.file !== 'undefined'
&& user.compare_ars(file_area.dir[http_request.query.dir[0]].download_ars)
) { ) {
var dircode = file_area.dir[http_request.query.dir[0]].code; var dircode = file_area.dir[http_request.query.dir[0]].code;
var fileBase = new FileBase(dircode); var fileBase = new FileBase(dircode);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment