Mercurial > hg > webaudioevaluationtool
changeset 3125:f80f43a2da99
YAUC
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Wed, 18 Jul 2018 17:02:24 +0100 |
parents | 8bef85957a2f |
children | a543efc6ef1d |
files | php/config.php |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/php/config.php Wed Jul 18 17:00:08 2018 +0100 +++ b/php/config.php Wed Jul 18 17:02:24 2018 +0100 @@ -1,13 +1,13 @@ <?php function getSaveLocation() { - if (isset(getenv(["WAET_SAVES_LOCATION"]))) { + if (getenv(["WAET_SAVES_LOCATION"]) !== false) { return getenv(["WAET_SAVES_LOCATION"]); } else { return "../saves/"; } } function getTestLocation() { - if (isset(getenv(["WAET_TEST_LOCATION"]))) { + if (getenv(["WAET_TEST_LOCATION"]) !== false) { return getenv(["WAET_TEST_LOCATION"]); } else { return "../tests/";