mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 12:11:19 +00:00
- replaced hard coded path of cache dir
This commit is contained in:
parent
d668a9d789
commit
27fb745dd9
|
@ -56,7 +56,7 @@ if (!is_object($content)) {
|
|||
exit;
|
||||
}
|
||||
|
||||
$previewer = new LetoDMS_Preview_Previewer('/var/lib/letodms/content/cache', $_GET["width"]);
|
||||
$previewer = new LetoDMS_Preview_Previewer($settings->_cacheDir, $_GET["width"]);
|
||||
header('Content-Type: image/png');
|
||||
$previewer->getPreview($content);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user