ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 6955


Ignore:
Timestamp:
May 4, 2008, 8:38:42 AM (15 years ago)
Author:
ebihara
Message:

キャッシュファイル・ディレクトリ名が正しくなくなってしまったのを修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/work/ebihara/prj_renew_OpenPNE_Img/webapp/lib/OpenPNE/Img/Generator.php

    r6929 r6955  
    225225        $prefix = OPENPNE_IMG_CACHE_PREFIX;
    226226
    227         $file = $prefix . str_replace('.', '_', $filename) . '.' . $f;
    228         $path = sprintf('%d/w%d_h%d/%s', $this->getOutputFormat(), $this->width, $this->height, $file);
     227        $format = $this->getOutputFormat();
     228        $file = $prefix . str_replace('.', '_', $filename) . '.' . $format;
     229        $path = sprintf('%s/w%d_h%d/%s', $format, $this->width, $this->height, $file);
    229230
    230231        $this->cache_fullpath = $this->cache_dir . '/' . $path;
Note: See TracChangeset for help on using the changeset viewer.