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