Removed is_file check on the else statement as files with no extensions aren't recognized as files by PHP, preventing .htaccess or LICENSE to get copied over

This commit is contained in:
Djamil Legato 2014-10-13 14:24:55 -07:00
parent 3d983d8377
commit d18f0bf751

View File

@ -150,10 +150,8 @@ class Installer
}
}
} else {
if (is_file($path)) {
@unlink($path);
@copy($tmp . DS . $filename, $path);
}
@unlink($path);
@copy($tmp . DS . $filename, $path);
}
}
}