do not copy .gitignore
This commit is contained in:
		
							parent
							
								
									fa1713323f
								
							
						
					
					
						commit
						0b3c6b1036
					
				|  | @ -4,7 +4,7 @@ $Id: | |||
| 
 | ||||
|   This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) | ||||
|   Copyright (C) 2012  Christian Kropp | ||||
|                 2012  Roland Gruber | ||||
|                 2012 - 2016  Roland Gruber | ||||
| 
 | ||||
|   This program is free software; you can redistribute it and/or modify | ||||
|   it under the terms of the GNU General Public License as published by | ||||
|  | @ -175,7 +175,7 @@ function recursiveCopy($src, $dst, $profiles, $fileFilter = null, $overwrite = t | |||
| 			} | ||||
| 			elseif ((isset($fileFilter) && (strpos($file, $fileFilter) === 0 || $file == '.htaccess')) | ||||
| 						|| (!isset($fileFilter))) { | ||||
| 				if (!is_file($src . '/' . $file)) { | ||||
| 				if (!is_file($src . '/' . $file) || ($file == '.gitignore')) { | ||||
| 					continue; | ||||
| 				} | ||||
| 				if ($overwrite || !file_exists($dst . '/' . $file)) { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue