mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-24 17:13:01 +00:00
feature-firstrun: correctly check for pdo_sqlite3 instead of sqlite3 in system requirements check
This commit is contained in:
parent
b1e28a0e06
commit
06d0fe4c5e
2 changed files with 3 additions and 2 deletions
|
@ -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 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 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
|
- **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))
|
- **Changed:** Catch and deal with more unpacking issues on first run (thanks, @daveschroeter in [#249](https://github.com/sbrl/Pepperminty-Wiki/issues/249))
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
register_module([
|
register_module([
|
||||||
"name" => "First run wizard",
|
"name" => "First run wizard",
|
||||||
"version" => "0.2",
|
"version" => "0.2.1",
|
||||||
"author" => "Starbeamrainbowlabs",
|
"author" => "Starbeamrainbowlabs",
|
||||||
"description" => "Displays a special page to aid in setting up a new wiki for the first time.",
|
"description" => "Displays a special page to aid in setting up a new wiki for the first time.",
|
||||||
"id" => "feature-firstrun",
|
"id" => "feature-firstrun",
|
||||||
|
@ -243,7 +243,7 @@ function do_system_checks() {
|
||||||
? [true, "php-zip is installed for compressing exports"]
|
? [true, "php-zip is installed for compressing exports"]
|
||||||
: [false, "php-zip is not install (needed for compressing exports)", "optional"];
|
: [false, "php-zip is not install (needed for compressing exports)", "optional"];
|
||||||
if(module_exists("lib-search-engine") or module_exists("feature-search-didyoumean"))
|
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"]
|
? [true, "php-sqlite3 is installed for search indexing"]
|
||||||
: [false, "php-sqlite3 is not installed (needed for search indexing)", "optional"];
|
: [false, "php-sqlite3 is not installed (needed for search indexing)", "optional"];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue