Commit c049da9e authored by Marc Egger's avatar Marc Egger
Browse files

Revert "Thumbnail: adjust paths since there is a chdir before use"

This reverts commit 435865b3 because I found a cleaner solution
parent 435865b3
Pipeline #4067 passed with stages
in 4 minutes and 17 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 = $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);
$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));
}
/**
......
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