works on download script
This commit is contained in:
@@ -24,7 +24,7 @@ int main (int ac, char **av, char ** env)
|
||||
path = get_value("file", rq_body);
|
||||
path = "./www/" + path;
|
||||
|
||||
status = ::eval_file_read(path);
|
||||
status = ::eval_file_access(path, R_OK);
|
||||
if (status)
|
||||
{
|
||||
std::cout << "Status: " << status << CRLF CRLF;
|
||||
|
||||
Reference in New Issue
Block a user