diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2007-11-01 10:42:46 +0000 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2007-11-01 10:42:46 +0000 |
commit | 4ff4a0e7adc87e654f6eefccdd2f43827bd06535 (patch) | |
tree | 6b8c59c7186e8de76e67b3add5840897bf52bff6 /phpfspot_img.php | |
parent | f0081bb8b3aed07efd5e5a74d1481ac2a3f88e48 (diff) |
issue73, new directory structure for thumbnails
git-svn-id: file:///var/lib/svn/phpfspot/trunk@275 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'phpfspot_img.php')
-rw-r--r-- | phpfspot_img.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpfspot_img.php b/phpfspot_img.php index 5747b73..ce3731b 100644 --- a/phpfspot_img.php +++ b/phpfspot_img.php @@ -76,7 +76,7 @@ class PHPFSPOT_IMG { if(!$this->parent->getMD5($idx)) { $this->parent->gen_thumb($idx); } - $fullpath = $this->parent->cfg->base_path ."/thumbs/". $width ."_". $this->parent->getMD5($idx); + $fullpath = $this->parent->get_thumb_path($width, $idx); /* if the thumb file does not exist, create it */ if(!file_exists($fullpath)) { $this->parent->gen_thumb($idx); |