From 7a12d6c39e63a49e971b9f442cb3304ebccdbb7d Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Mon, 3 Feb 2020 20:12:12 +0000 Subject: [PATCH] pack.php: Add specifying the theme to build into the Pepperminty Wiki instance via an environment variable --- pack.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pack.php b/pack.php index 9e1dd32..a1a652c 100644 --- a/pack.php +++ b/pack.php @@ -7,7 +7,7 @@ if(!isset($paths)) { $paths = new stdClass(); $paths->extra_data_directory = "build/._extra_data"; } -$theme_id = "default"; +$theme_id = $_ENV["PEPPERMINT_THEME"] ?? "default"; if(isset($_GET["determine-latest-version"])) { header("content-type: application/json");