[wp-cvs] wordpress/wp-admin upgrade-functions.php,1.89,1.90

Ryan Boren rboren at users.sourceforge.net
Tue Feb 8 08:02:03 GMT 2005


Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4032

Modified Files:
	upgrade-functions.php 
Log Message:
Suppress safe mode restriction warnings.

Index: upgrade-functions.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/upgrade-functions.php,v
retrieving revision 1.89
retrieving revision 1.90
diff -C2 -d -r1.89 -r1.90
*** upgrade-functions.php	8 Feb 2005 07:50:24 -0000	1.89
--- upgrade-functions.php	8 Feb 2005 08:01:59 -0000	1.90
***************
*** 544,548 ****
  			$oldpath = ABSPATH;
  
! 		if (! copy("$oldpath/$oldfile", "$site_dir/$newfile"))
  			return false;
  
--- 544,548 ----
  			$oldpath = ABSPATH;
  
! 		if (! @copy("$oldpath/$oldfile", "$site_dir/$newfile"))
  			return false;
  
***************
*** 597,601 ****
  
  	foreach ($files as $file) {
! 		if (! copy("$default_dir/$file", "$site_dir/$file"))
  			return;
  
--- 597,601 ----
  
  	foreach ($files as $file) {
! 		if (! @copy("$default_dir/$file", "$site_dir/$file"))
  			return;
  



More information about the cvs mailing list