Revision e212156b
Added by Scott Ullrich almost 19 years ago
etc/inc/config.inc | ||
---|---|---|
279 | 279 |
function restore_backup($file) { |
280 | 280 |
if(file_exists($file)) { |
281 | 281 |
conf_mount_rw(); |
282 |
system("mv $file /cf/conf/config.xml");
|
|
282 |
system("cp $file /cf/conf/config.xml");
|
|
283 | 283 |
} |
284 | 284 |
} |
285 | 285 |
|
Also available in: Unified diff
Don't move file when doing a restore, simply copy it.