[pLog-svn] r5261 - plog/branches/lifetype-1.2/class/gallery/resizers
mark at devel.lifetype.net
mark at devel.lifetype.net
Tue Apr 3 12:38:16 EDT 2007
Author: mark
Date: 2007-04-03 12:38:16 -0400 (Tue, 03 Apr 2007)
New Revision: 5261
Modified:
plog/branches/lifetype-1.2/class/gallery/resizers/gallerythumbnailgenerator.class.php
Log:
Weird, why I forget update this one? :(
Modified: plog/branches/lifetype-1.2/class/gallery/resizers/gallerythumbnailgenerator.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/gallery/resizers/gallerythumbnailgenerator.class.php 2007-04-03 15:05:45 UTC (rev 5260)
+++ plog/branches/lifetype-1.2/class/gallery/resizers/gallerythumbnailgenerator.class.php 2007-04-03 16:38:16 UTC (rev 5261)
@@ -28,7 +28,8 @@
$resizer = new GalleryResizer( $resFile );
lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
GalleryResourceStorage::checkPreviewsStorageFolder( $ownerId );
- $outFile = GalleryResourceStorage::getPreviewsFolder( $ownerId ).basename($resFile);
+ lt_include( PLOG_CLASS_PATH."class/file/file.class.php" );
+ $outFile = GalleryResourceStorage::getPreviewsFolder( $ownerId ).File::basename($resFile);
// and finally, we can generate the preview!
$result = $resizer->generate( $outFile, $previewHeight, $previewWidth, $previewKeepAspectRatio );
More information about the pLog-svn
mailing list