[zi-cvs] packages/com.zzoss.plugin.lib Plugin.php,1.16,1.17

Sandro Zic <[email protected]> Tue, 06 Apr 2004 20:44:15 +0000
Newsgroups gmane.comp.php.zzoss.installer.cvs
Message-ID <[email protected]>
Update of /cvsroot/zzossinstaller/packages/com.zzoss.plugin.lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9534/com.zzoss.plugin.lib

Modified Files:
	Plugin.php 
Log Message:
win problem with files without file ending

Index: Plugin.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.plugin.lib/Plugin.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** Plugin.php	6 Apr 2004 18:26:09 -0000	1.16
--- Plugin.php	6 Apr 2004 20:44:11 -0000	1.17
***************
*** 401,404 ****
--- 401,409 ----
                      ZZOSS_InstallerUtils::mkDir(dirname($GLOBALS['ZI']['file_dest']));
                      $GLOBALS['ZI']['plugin_log'] .= 'Created directory '.dirname($GLOBALS['ZI']['file_dest'])."\n";
+                 } else {
+                     // unlink existing file
+                     if(file_exists($GLOBALS['ZI']['file_dest'])){
+                         unlink($GLOBALS['ZI']['file_dest']);
+                     }
                  }
                  //ZZOSS_InstallerUtils::mkdir($pathinfo["dirname"]);



-------------------------------------------------------
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