[pLog-svn] r6957 - plog/branches/lifetype-1.2/class/plugin

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


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

Modified:
   plog/branches/lifetype-1.2/class/plugin/pluginmanager.class.php
Log:
Aha.  the static is only affects Glob::Glob because it is a constructor...  fixes http://bugs.lifetype.net/view.php?id=1578

Modified: plog/branches/lifetype-1.2/class/plugin/pluginmanager.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/plugin/pluginmanager.class.php	2010-01-13 16:03:42 UTC (rev 6956)
+++ plog/branches/lifetype-1.2/class/plugin/pluginmanager.class.php	2010-01-13 16:11:16 UTC (rev 6957)
@@ -191,7 +191,8 @@
 		{
 			$pluginList = Array();
 			
-			$pluginFiles = Glob::glob( $this->_pluginDir, "*" );
+            $glob = new Glob();
+            $pluginFiles = $glob->glob($this->_pluginDir, "*");
 			if( !is_array( $pluginFiles ))
 				return $pluginList;
 			



More information about the pLog-svn mailing list