Changeset 2595
- Timestamp:
- 06/18/08 04:36:13 (6 months ago)
- Files:
-
- branches/release-40/php/lib/MTUtil.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/release-40/php/lib/MTUtil.php
r2587 r2595 1349 1349 # make url 1350 1350 $basename = basename($dest); 1351 $thumb_url = $blog['blog_site_url'] . $cache_path . '/' . $date_stamp . '/' . $basename; 1351 $site_url = $blog['blog_site_url']; 1352 if (!preg_match('!/$!', $site_url)) 1353 $site_url .= '/'; 1354 1355 $thumb_url = $site_url . $cache_path . '/' . $date_stamp . '/' . $basename; 1352 1356 1353 1357 return array($thumb_url, $thumb_w, $thumb_h, $thumb_name);
