added a special thread for making thumbnails (thumb.h thumb.cpp)
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@700 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -42,7 +42,7 @@ void Download::MakeGet()
|
||||
|
||||
request->send_as_attachment = request->IsParam(L"attachment");
|
||||
|
||||
if( request->item.file_type == WINIX_ITEM_FILETYPE_IMAGE && config->create_thumb && request->IsParam(L"thumb") )
|
||||
if( request->item.has_thumb && request->IsParam(L"thumb") )
|
||||
system->MakeFilePath(request->item, request->x_sendfile, true);
|
||||
else
|
||||
system->MakeFilePath(request->item, request->x_sendfile);
|
||||
|
Reference in New Issue
Block a user