Commit 435865b3 authored by Marc Egger's avatar Marc Egger
Browse files

Thumbnail: adjust paths since there is a chdir before use

parent 469516a9
Pipeline #4058 passed with stages
in 3 minutes and 56 seconds
......@@ -49,8 +49,8 @@ class Thumbnail {
$this->inkscape = $this->store->getVar(SYSTEM_CMD_INKSCAPE, STORE_SYSTEM);
$this->convert = $this->store->getVar(SYSTEM_CMD_CONVERT, STORE_SYSTEM);
$this->thumbnailDirSecureRelToCwd = Path::cwdToApp($this->store->getVar(SYSTEM_THUMBNAIL_DIR_SECURE_REL_TO_APP, STORE_SYSTEM));
$this->thumbnailDirPublicRelToCwd = Path::cwdToApp($this->store->getVar(SYSTEM_THUMBNAIL_DIR_PUBLIC_REL_TO_APP, STORE_SYSTEM));
$this->thumbnailDirSecureRelToCwd = $this->store->getVar(SYSTEM_THUMBNAIL_DIR_SECURE_REL_TO_APP, STORE_SYSTEM);
$this->thumbnailDirPublicRelToCwd = $this->store->getVar(SYSTEM_THUMBNAIL_DIR_PUBLIC_REL_TO_APP, STORE_SYSTEM);
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment