mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +00:00
build system: make PEPPRMINT_THEME environment variable work again
This commit is contained in:
parent
1992098a71
commit
260cd6d4b4
2 changed files with 10 additions and 2 deletions
|
@ -2,6 +2,13 @@
|
|||
This file holds the changelog for Pepperminty Wiki. This is the master list of things that have changed (second only to the commit history!) - though the information for any particular release can also be found in the description of it's page for every release made on GitHub too.
|
||||
|
||||
|
||||
## v0.21-beta2
|
||||
_Currently there aren't any plans to make another beta release. These changes will be released in the main stable v0.21 release._
|
||||
|
||||
### Fixed
|
||||
- Make `PEPPERMINT_THEME` environment variable work again when compiling on the command line
|
||||
|
||||
|
||||
## v0.21-beta1
|
||||
|
||||
### Added
|
||||
|
|
5
pack.php
5
pack.php
|
@ -7,7 +7,8 @@ if(!isset($paths)) {
|
|||
$paths = new stdClass();
|
||||
$paths->extra_data_directory = "build/._extra_data";
|
||||
}
|
||||
$theme_id = $_ENV["PEPPERMINT_THEME"] ?? "default";
|
||||
$theme_id = getenv("PEPPERMINT_THEME");
|
||||
if(strlen($theme_id) == 0) $theme_id = "default";
|
||||
|
||||
if(isset($_GET["determine-latest-version"])) {
|
||||
header("content-type: application/json");
|
||||
|
@ -40,7 +41,7 @@ function log_str(string $line) {
|
|||
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||
███████ ██████ ██ ██ ██████ ██ ██ ████ ██████
|
||||
*/
|
||||
|
||||
log_str("Building with theme '$theme_id'.\n");
|
||||
log_str("*** Beginning main build sequence ***\n");
|
||||
log_str("Reading in module index...\n");
|
||||
|
||||
|
|
Loading…
Reference in a new issue