[pLog-svn] r6956 - in plugins/branches/lifetype-1.2/authimage: . class/authimage
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Wed Jan 13 11:03:43 EST 2010
Author: jondaley
Date: 2010-01-13 11:03:42 -0500 (Wed, 13 Jan 2010)
New Revision: 6956
Modified:
plugins/branches/lifetype-1.2/authimage/class/authimage/authimage.class.php
plugins/branches/lifetype-1.2/authimage/pluginauthimage.class.php
Log:
some php installations have trouble with glob being called statically without being declared statically. Once we aren't supporting php4, we can fix this the right way. http://forums.lifetype.net/viewtopic.php?f=8&t=9632
Modified: plugins/branches/lifetype-1.2/authimage/class/authimage/authimage.class.php
===================================================================
--- plugins/branches/lifetype-1.2/authimage/class/authimage/authimage.class.php 2010-01-07 16:38:36 UTC (rev 6955)
+++ plugins/branches/lifetype-1.2/authimage/class/authimage/authimage.class.php 2010-01-13 16:03:42 UTC (rev 6956)
@@ -17,7 +17,8 @@
*/
function scanBackgoundImages()
{
- $gifImages = Glob::glob( AUTHIMAGE_BACKGROUND_FOLDER , '*.gif');
+ $glob = new Glob();
+ $gifImages = $glob->glob(AUTHIMAGE_BACKGROUND_FOLDER , '*.gif');
$backgroundImages = Array();
Modified: plugins/branches/lifetype-1.2/authimage/pluginauthimage.class.php
===================================================================
--- plugins/branches/lifetype-1.2/authimage/pluginauthimage.class.php 2010-01-07 16:38:36 UTC (rev 6955)
+++ plugins/branches/lifetype-1.2/authimage/pluginauthimage.class.php 2010-01-13 16:03:42 UTC (rev 6956)
@@ -23,7 +23,7 @@
$this->id = "authimage";
$this->author = "Mark Wu";
$this->desc = 'This plugin offers extra comment authentication for LifeType.';
- $this->version = "20070324";
+ $this->version = "20100113";
$this->locales = Array( "en_UK" , "zh_TW" , "zh_CN", "es_ES", "de_DE" );
More information about the pLog-svn
mailing list