Mercurial > hg > webaudioevaluationtool
view php/config.php @ 3124:8bef85957a2f
YAUC
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Wed, 18 Jul 2018 17:00:08 +0100 |
parents | 53d701288da5 |
children | f80f43a2da99 |
line wrap: on
line source
<?php function getSaveLocation() { if (isset(getenv(["WAET_SAVES_LOCATION"]))) { return getenv(["WAET_SAVES_LOCATION"]); } else { return "../saves/"; } } function getTestLocation() { if (isset(getenv(["WAET_TEST_LOCATION"]))) { return getenv(["WAET_TEST_LOCATION"]); } else { return "../tests/"; } } ?>