[pLog-svn] r6958 - in plugins/branches/lifetype-1.2: gravatar/class/avatars smileys/class/smileys

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Wed Jan 13 11:16:47 EST 2010


Author: jondaley
Date: 2010-01-13 11:16:47 -0500 (Wed, 13 Jan 2010)
New Revision: 6958

Modified:
   plugins/branches/lifetype-1.2/gravatar/class/avatars/avatars.class.php
   plugins/branches/lifetype-1.2/smileys/class/smileys/smileys.class.php
Log:
same static constructor problem as in http://bugs.lifetype.net/view.php?id=1578

Modified: plugins/branches/lifetype-1.2/gravatar/class/avatars/avatars.class.php
===================================================================
--- plugins/branches/lifetype-1.2/gravatar/class/avatars/avatars.class.php	2010-01-13 16:11:16 UTC (rev 6957)
+++ plugins/branches/lifetype-1.2/gravatar/class/avatars/avatars.class.php	2010-01-13 16:16:47 UTC (rev 6958)
@@ -17,8 +17,9 @@
          */
         function scanAvatarImages()
         {
-            $gifImages = Glob::glob( AVATAR_FILE_PATH , '*.gif');
-            $jpgImages = Glob::glob( AVATAR_FILE_PATH , '*.jpg');
+            $glob = new Glob();
+            $gifImages = $glob->glob(AVATAR_FILE_PATH , '*.gif');
+            $jpgImages = $glob->glob(AVATAR_FILE_PATH , '*.jpg');
             
             $avatarImages = Array();
             

Modified: plugins/branches/lifetype-1.2/smileys/class/smileys/smileys.class.php
===================================================================
--- plugins/branches/lifetype-1.2/smileys/class/smileys/smileys.class.php	2010-01-13 16:11:16 UTC (rev 6957)
+++ plugins/branches/lifetype-1.2/smileys/class/smileys/smileys.class.php	2010-01-13 16:16:47 UTC (rev 6958)
@@ -17,7 +17,8 @@
 			lt_include( PLOG_CLASS_PATH."class/misc/glob.class.php" );			
 		
             // first of all, find how many folders are available
-            $smileyFolders = Glob::glob( SMILEY_FILE_PATH );
+            $glob = new Glob();
+            $smileyFolders = $glob->glob( SMILEY_FILE_PATH );
             
             $availableSets = Array();
             



More information about the pLog-svn mailing list