fixed _error_html_response()
+ renamed eval_file_mode() in eval_file_access() + memo update
This commit is contained in:
@@ -12,7 +12,7 @@ void Webserv::_delete(Client *client, const std::string &path)
|
||||
void Webserv::_delete_file(Client *client, const std::string &path)
|
||||
{
|
||||
std::cout << "_delete_file()\n";
|
||||
client->status = ::eval_file_mode(path, W_OK);
|
||||
client->status = ::eval_file_access(path, W_OK);
|
||||
if (client->status)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user