mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-28 21:07:59 +03:00
change: error output
This commit is contained in:
@@ -23,7 +23,7 @@ std::string Autoindex::getPage(std::string path, std::string allpath, std::strin
|
||||
<p>\n";
|
||||
if (dir == NULL)
|
||||
{
|
||||
std::cerr << RED << "AutoindexError: could not open \""
|
||||
DBOUT << WARNING << getDebugTime() << FAIL << " AutoindexError: could not open \""
|
||||
<< allpath << "\" directory." << ZERO_C << std::endl;
|
||||
return "";
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define AUTOINDEX_HPP
|
||||
|
||||
#include "webserv.hpp"
|
||||
#include "ServerConfig.hpp"
|
||||
|
||||
class Autoindex
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user