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

Check directory download_ars in addition to can_download,

maybe that'll do something.
parent ea7fb324
No related branches found
No related tags found
No related merge requests found
......@@ -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]].can_download &&
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 fileBase = new FileBase(dircode);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment