[geeklog-cvs] Auth_Enterprise/Server ServerProviderFactory.php,1.1,1.2

tony at iowaoutdoors.org tony at iowaoutdoors.org
Tue Jul 6 17:05:20 EDT 2004


Update of /var/cvs/Auth_Enterprise/Server
In directory www:/tmp/cvs-serv4824

Modified Files:
	ServerProviderFactory.php 
Log Message:
Had to make prepend the Enterprise_ prefix to the provider name as that is what makes up the PEAR friendly class name.

Index: ServerProviderFactory.php
===================================================================
RCS file: /var/cvs/Auth_Enterprise/Server/ServerProviderFactory.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ServerProviderFactory.php	4 Jul 2004 15:22:08 -0000	1.1
--- ServerProviderFactory.php	6 Jul 2004 21:05:17 -0000	1.2
***************
*** 67,72 ****
          require_once $fileName;
          
          try {
!             return new $provider($appId);
          } catch (AEUnableToConnect $e) {
              throw $e;
--- 67,74 ----
          require_once $fileName;
          
+         $classToCreate = 'Enterprise_' . $provider;
+         
          try {
!             return new $classToCreate($appId);
          } catch (AEUnableToConnect $e) {
              throw $e;




More information about the geeklog-cvs mailing list