mirror of
https://github.com/YACReader/yacreader
synced 2025-07-26 17:04:45 -04:00
A?adidos los par?metros por defecto correctos para el servidor.
Corregidos los sliders de las opciones de imagen
This commit is contained in:
@ -15,7 +15,7 @@ StaticFileController::StaticFileController(QSettings* settings, QObject* parent)
|
||||
{
|
||||
maxAge=settings->value("maxAge","60000").toInt();
|
||||
encoding=settings->value("encoding","UTF-8").toString();
|
||||
docroot=settings->value("path",".").toString();
|
||||
docroot=settings->value("path","./server/docroot").toString();
|
||||
// Convert relative path to absolute, based on the directory of the config file.
|
||||
#ifdef Q_OS_WIN32
|
||||
if (QDir::isRelativePath(docroot) && settings->format()!=QSettings::NativeFormat)
|
||||
|
Reference in New Issue
Block a user