Changeset 6955
- Timestamp:
- May 4, 2008, 8:38:42 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/branches/work/ebihara/prj_renew_OpenPNE_Img/webapp/lib/OpenPNE/Img/Generator.php
r6929 r6955 225 225 $prefix = OPENPNE_IMG_CACHE_PREFIX; 226 226 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); 229 230 230 231 $this->cache_fullpath = $this->cache_dir . '/' . $path;
Note: See TracChangeset
for help on using the changeset viewer.