Remove a file_exists where it didn't belong.
This commit is contained in:
parent
bdb3d644bf
commit
f954b37334
|
|
@ -50,9 +50,7 @@ include "root.php";
|
||||||
while(false !== ($file = readdir($dir))) {
|
while(false !== ($file = readdir($dir))) {
|
||||||
if (($file != '.') && ($file != '..')) {
|
if (($file != '.') && ($file != '..')) {
|
||||||
if (is_dir($src.'/'.$file)) {
|
if (is_dir($src.'/'.$file)) {
|
||||||
if (!file_exists($dst.'/'.$file)) {
|
$this->recursive_copy($src.'/'.$file, $dst.'/'.$file);
|
||||||
$this->recursive_copy($src.'/'.$file, $dst.'/'.$file);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
//copy only missing files
|
//copy only missing files
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue