annotate php/config.php @ 3138:21ee5bcf80a3

Hotfix for AB tests with page interface axis
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Tue, 12 Nov 2019 16:09:53 +0000
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 ?>