mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +00:00
pack.php: Add specifying the theme to build into the Pepperminty Wiki instance via an environment variable
This commit is contained in:
parent
83bf9acd86
commit
7a12d6c39e
1 changed files with 1 additions and 1 deletions
2
pack.php
2
pack.php
|
@ -7,7 +7,7 @@ if(!isset($paths)) {
|
||||||
$paths = new stdClass();
|
$paths = new stdClass();
|
||||||
$paths->extra_data_directory = "build/._extra_data";
|
$paths->extra_data_directory = "build/._extra_data";
|
||||||
}
|
}
|
||||||
$theme_id = "default";
|
$theme_id = $_ENV["PEPPERMINT_THEME"] ?? "default";
|
||||||
|
|
||||||
if(isset($_GET["determine-latest-version"])) {
|
if(isset($_GET["determine-latest-version"])) {
|
||||||
header("content-type: application/json");
|
header("content-type: application/json");
|
||||||
|
|
Loading…
Reference in a new issue