annotate php/config.php @ 3141:335bc77627e0 tip

fixing discrete interface to allow labels to display
author Dave Moffat <me@davemoffat.com>
date Mon, 26 Jul 2021 12:15:24 +0100
parents a543efc6ef1d
children
rev   line source
nicholas@3120 1 <?php
nicholas@3120 2 function getSaveLocation() {
nicholas@3126 3 if (getenv("WAET_SAVES_LOCATION") !== false) {
nicholas@3126 4 return getenv("WAET_SAVES_LOCATION");
nicholas@3120 5 } else {
nicholas@3120 6 return "../saves/";
nicholas@3120 7 }
nicholas@3120 8 }
nicholas@3120 9 function getTestLocation() {
nicholas@3126 10 if (getenv("WAET_TEST_LOCATION") !== false) {
nicholas@3126 11 return getenv("WAET_TEST_LOCATION");
nicholas@3120 12 } else {
nicholas@3120 13 return "../tests/";
nicholas@3120 14 }
nicholas@3120 15 }
nicholas@3120 16 ?>