diff options
author | fox <[email protected]> | 2021-12-13 07:42:59 +0300 |
---|---|---|
committer | fox <[email protected]> | 2021-12-13 07:42:59 +0300 |
commit | 030e7f3fb202c1bd81d59085e0cf4de756d92531 (patch) | |
tree | f333d7538ea5b4120eb73d7eac2a0a246c6f8849 | |
parent | fc5f5e4e5017180222cc3f9ee0ac26310f29c7c1 (diff) | |
parent | 667f647259f4b1bec95acf37bc52c34967d93f58 (diff) |
Merge pull request 'check on zip extension before going forward' (#2) from s1ructure/ttrss-data-migration:fix/check-zip-extension into master
Reviewed-on: https://git.tt-rss.org/fox/ttrss-data-migration/pulls/2
-rw-r--r-- | init.php | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -48,6 +48,11 @@ class Data_Migration extends Plugin { exit(1); } + if (!class_exists(ZipArchive::class)) { + Debug::log("error: seems like zip extension for your php installation is missing"); + exit(1); + } + $sth = $this->pdo->prepare("SELECT id FROM ttrss_users WHERE login = ?"); $sth->execute([$user]); |