Mercurial > hg > webaudioevaluationtool
annotate php/config.php @ 3136:3dcdada1058f
Fix issue with test scale range not being set.
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Fri, 29 Mar 2019 16:03:06 +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 ?> |