Author: sevein
Date: Thu Sep 24 15:51:36 2009
New Revision: 3520

Log:
Set permissions for preview files in order to make it world readable for web 
server access.

Modified:
   trunk/apps/qubit/modules/digitalobject/actions/uploadAction.class.php

Modified: trunk/apps/qubit/modules/digitalobject/actions/uploadAction.class.php
==============================================================================
--- trunk/apps/qubit/modules/digitalobject/actions/uploadAction.class.php       
Thu Sep 24 15:43:47 2009        (r3519)
+++ trunk/apps/qubit/modules/digitalobject/actions/uploadAction.class.php       
Thu Sep 24 15:51:36 2009        (r3520)
@@ -74,6 +74,7 @@
         if (0 < strlen($resizedObject))
         {
           file_put_contents($thumbPath, $resizedObject);
+          chmod($thumbPath, 0644);
         }
       }
       else

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to