[zi-cvs] packages/com.zzoss.installer.lib Registry.php,1.13,1.14

[email protected] Mon, 08 Mar 2004 02:18:27 -0800
Newsgroups gmane.comp.php.zzoss.installer.cvs
Message-ID <[email protected]>
Update of /cvsroot/zzossinstaller/packages/com.zzoss.installer.lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10738

Modified Files:
	Registry.php 
Log Message:
add application and distri params

Index: Registry.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.installer.lib/Registry.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** Registry.php	5 Mar 2004 14:25:23 -0000	1.13
--- Registry.php	8 Mar 2004 10:18:24 -0000	1.14
***************
*** 1601,1606 ****
      }
      
!     function isRegPlugins()
      {
          return file_exists($this->application_path.'installer'.DIRECTORY_SEPARATOR.'plugins.reg');
      }
--- 1601,1613 ----
      }
      
!     function isRegPlugins($application = NULL, $distribution = NULL)
      {
+         if(!is_null($distribution)){
+             $this->setDistribution($distribution);
+         }
+         if(!is_null($application)){
+             $this->setApplication($application);
+         }
+         
          return file_exists($this->application_path.'installer'.DIRECTORY_SEPARATOR.'plugins.reg');
      }



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click