Fixed stupid bug
This commit is contained in:
parent
17f040c9fa
commit
30b2d83704
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ prettyPrint=1
|
|||
[main]
|
||||
dbPath=./db.sqlite
|
||||
filesPath=./files/
|
||||
thumbsPath=./files/
|
||||
thumbsPath=./thumbs/
|
||||
mediaPath=./public_html/media/
|
||||
title=szurubooru
|
||||
|
||||
|
|
|
@ -232,7 +232,7 @@ class PostController
|
|||
$path = $this->config->main->thumbsPath . DS . $post->name . '.png';
|
||||
if (!file_exists($path))
|
||||
{
|
||||
$srcPath = $this->config->main->thumbsPath . DS . $post->name;
|
||||
$srcPath = $this->config->main->filesPath . DS . $post->name;
|
||||
$dstPath = $path;
|
||||
$dstWidth = $this->config->browsing->thumbWidth;
|
||||
$dstHeight = $this->config->browsing->thumbHeight;
|
||||
|
|
Loading…
Reference in a new issue