Fix for preview creation, was a wrong path.

This commit is contained in:
Darko
2014-05-07 12:23:41 +02:00
parent cf7ac317fd
commit b49746a451
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -667,7 +667,6 @@ class PProcess
//\\ Paths.
$this->audSavePath = WWW_DIR . 'covers/audio/';
$this->jpgSavePath = WWW_DIR . 'covers/sample/';
$this->imgSavePath = WWW_DIR . 'covers/console/';
$this->vidSavePath = WWW_DIR . 'covers/video/';
$this->mainTmpPath = $this->site->tmpunrarpath;
$this->tmpPath = $this->mainTmpPath;
@@ -1411,7 +1410,7 @@ class PProcess
}
// If samples exist from previous runs, set flags.
if (file_exists($this->imgSavePath . $rel['guid'] . '_thumb.jpg')) {
if (file_exists($this->releaseImage->imgSavePath . $rel['guid'] . '_thumb.jpg')) {
$iSQL = ', haspreview = 1';
} else {
$iSQL = ', haspreview = 0';