mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 05:11:27 +00:00 
			
		
		
		
	use backup dir if set
This commit is contained in:
		
							parent
							
								
									ff53a3e3e5
								
							
						
					
					
						commit
						2bf7bd0a4e
					
				|  | @ -169,8 +169,12 @@ if (!is_object($folder)) { | |||
| 
 | ||||
| $human_readable = (isset($_GET["human_readable"]) && $_GET["human_readable"]==1 ? true : false); | ||||
| 
 | ||||
| if ($human_readable)$ark_name = $settings->_contentDir.time()."_".$folderid."_HR.tar"; | ||||
| else $ark_name = $settings->_contentDir.time()."_".$folderid.".tar"; | ||||
| if($settings->_backupDir && file_exists($settings->_backupDir)) | ||||
| 	$basedir = $settings->_backupDir; | ||||
| else | ||||
| 	$basedir = $setting->_contentDir; | ||||
| if ($human_readable)$ark_name = $basedir.time()."_".$folderid."_HR.tar"; | ||||
| else $ark_name = $basedir.time()."_".$folderid.".tar"; | ||||
| 
 | ||||
| $ark = fopen($ark_name,"w"); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann