[pLog-svn] r2230 - plog/branches/plog-1.0.2/class/action/admin

mark at devel.plogworld.net mark at devel.plogworld.net
Wed Jun 15 09:41:24 GMT 2005


Author: mark
Date: 2005-06-15 09:41:21 +0000 (Wed, 15 Jun 2005)
New Revision: 2230

Modified:
   plog/branches/plog-1.0.2/class/action/admin/adminresourcesaction.class.php
Log:
Seems we forgot check the MediumSizePreviewsStorageFolder in adminResourceAction. Fix this bug accoding to http://forum.plogworld.org.tw/viewtopic.php?t=789

Mark

Modified: plog/branches/plog-1.0.2/class/action/admin/adminresourcesaction.class.php
===================================================================
--- plog/branches/plog-1.0.2/class/action/admin/adminresourcesaction.class.php	2005-06-15 06:17:26 UTC (rev 2229)
+++ plog/branches/plog-1.0.2/class/action/admin/adminresourcesaction.class.php	2005-06-15 09:41:21 UTC (rev 2230)
@@ -43,7 +43,8 @@
 		// check if the storage folder exists and it is readable
 		if( !GalleryResourceStorage::checkBaseStorageFolder() || 
                     !GalleryResourceStorage::checkUserStorageFolder( $this->_blogInfo->getId()) ||
-                    !GalleryResourceStorage::checkPreviewsStorageFolder( $this->_blogInfo->getId())) {
+                    !GalleryResourceStorage::checkPreviewsStorageFolder( $this->_blogInfo->getId())
+                    !GalleryResourceStorage::checkMediumSizePreviewsStorageFolder( $this->_blogInfo->getId())) {
 			$message = $this->_locale->pr("error_base_storage_folder_missing_or_unreadable", $folders);
 		}
 




More information about the pLog-svn mailing list