mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-02 14:54:34 -04:00
Rewrite zip, when deleting files prior to extraction
This commit is contained in:
parent
ec6de36105
commit
c46d5ecef7
@ -109,6 +109,8 @@ class SelfUpdateController extends BaseController
|
|||||||
|
|
||||||
$zipFile->deleteFromName(".htaccess");
|
$zipFile->deleteFromName(".htaccess");
|
||||||
|
|
||||||
|
$zipFile->rewrite();
|
||||||
|
|
||||||
$zipFile->extractTo(base_path());
|
$zipFile->extractTo(base_path());
|
||||||
|
|
||||||
$zipFile->close();
|
$zipFile->close();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user