diff --git a/Changelog.md b/Changelog.md index 3c0f853..3d03f40 100644 --- a/Changelog.md +++ b/Changelog.md @@ -8,6 +8,7 @@ This is the next release of Pepperminty Wiki, that hasn't been released yet. - **Fixed:** Fixed link to the interwiki links documentation on the help page if interwiki links have not yet been setup. - **Fixed:** Fixed typos in system text - **Fixed:** Fixed handling of [`firstrun_complete`](https://starbeamrainbowlabs.com/labs/peppermint/peppermint-config-info.php#config_firstrun_complete) setting if `peppermint.json` is prefilled with a `firstrun_complete` directive but the Wiki hasn't been initialised for the first time yet - useful for installations inside Docker +- **Changed:** Correctly check for `pdo_sqlite3` instead of `sqlite3` in `feature-firstrun` - **Changed:** Catch and deal with more unpacking issues on first run (thanks, @daveschroeter in [#249](https://github.com/sbrl/Pepperminty-Wiki/issues/249)) diff --git a/modules/feature-firstrun.php b/modules/feature-firstrun.php index 8ca4807..4e66b33 100644 --- a/modules/feature-firstrun.php +++ b/modules/feature-firstrun.php @@ -6,7 +6,7 @@ register_module([ "name" => "First run wizard", - "version" => "0.2", + "version" => "0.2.1", "author" => "Starbeamrainbowlabs", "description" => "Displays a special page to aid in setting up a new wiki for the first time.", "id" => "feature-firstrun", @@ -243,7 +243,7 @@ function do_system_checks() { ? [true, "php-zip is installed for compressing exports"] : [false, "php-zip is not install (needed for compressing exports)", "optional"]; if(module_exists("lib-search-engine") or module_exists("feature-search-didyoumean")) - $checks[] = extension_loaded("sqlite3") + $checks[] = extension_loaded("pdo_sqlite") ? [true, "php-sqlite3 is installed for search indexing"] : [false, "php-sqlite3 is not installed (needed for search indexing)", "optional"];