To speed up the install and upgrade schema only copy files that don't exist in the destination directory.
This commit is contained in:
parent
73e55e95b7
commit
c96ad9c168
|
|
@ -50,7 +50,9 @@ include "root.php";
|
|||
while(false !== ($file = readdir($dir))) {
|
||||
if (($file != '.') && ($file != '..')) {
|
||||
if (is_dir($src.'/'.$file)) {
|
||||
$this->recursive_copy($src.'/'.$file, $dst.'/'.$file);
|
||||
if (!file_exists($dst.'/'.$file)) {
|
||||
$this->recursive_copy($src.'/'.$file, $dst.'/'.$file);
|
||||
}
|
||||
}
|
||||
else {
|
||||
//show debug info
|
||||
|
|
|
|||
Loading…
Reference in New Issue