mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48: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();
|
||||
|
||||
foreach ($files as $file) {
|
||||
if ($file === 'package.cert' || \is_file($this->extractPath . '/' . $file)) {
|
||||
if ($file === 'package.cert' || \is_dir($this->extractPath . '/' . $file)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user