ENABLE_DEBUG has values either 0 or 1, otherwise its always defined.

Change-Id: I0253dc2d83c11888e79ddb991b065eb62bbbd805
This commit is contained in:
Pranav Kant 2017-05-20 12:16:36 +05:30
parent aed840ea04
commit f47936a2da

View file

@ -207,7 +207,7 @@ void FileServerRequestHandler::handleRequest(const HTTPRequest& request, Poco::M
bool gzip = request.hasToken("Accept-Encoding", "gzip");
const std::string *content;
#ifdef ENABLE_DEBUG
#if ENABLE_DEBUG
if (std::getenv("LOOL_SERVE_FROM_FS"))
{
// Useful to not serve from memory sometimes especially during loleaflet development