0.7.12.6pre
This commit is contained in:
8
Yuba.php
8
Yuba.php
@@ -603,8 +603,12 @@ if ($p['thumbs']) {
|
||||
$ext = pathinfo($pathname,PATHINFO_EXTENSION);
|
||||
$tpath = $bpath."/thumbs/".substr($fid, 0, 2);
|
||||
if (!is_dir($tpath)) { mkdir($tpath); }
|
||||
$tfile = $tpath."/".$fid."_".$p['thumb_size'].".jpg";
|
||||
$tpfile = $tpath."/".$fid."_".$p['thumb_size'].".png";
|
||||
|
||||
//$tfile = $tpath."/".$fid."_".$p['thumb_size'].".jpg";
|
||||
//$tpfile = $tpath."/".$fid."_".$p['thumb_size'].".png";
|
||||
|
||||
$tfile = $tpath."/".$fid.".jpg";
|
||||
$tpfile = $tpath."/".$fid.".png";
|
||||
|
||||
if (count($p['t_skip']) && in_array($ext, $p['t_skip'])) {
|
||||
echo ProgressBar::next("Skipping ".shortlabel($pathname));
|
||||
|
||||
Reference in New Issue
Block a user