mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-10 22:18:40 +00:00
fix dir check
This commit is contained in:
parent
06070dcac2
commit
e9426bf18a
|
|
@ -156,7 +156,7 @@ final class PackageManager
|
||||||
$state = \sodium_crypto_generichash_init();
|
$state = \sodium_crypto_generichash_init();
|
||||||
|
|
||||||
foreach ($files as $file) {
|
foreach ($files as $file) {
|
||||||
if ($file === 'package.cert' || \is_file($this->extractPath . '/' . $file)) {
|
if ($file === 'package.cert' || \is_dir($this->extractPath . '/' . $file)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user