Mercurial > hg > webaudioevaluationtool
diff php/get_tests.php @ 3120:53d701288da5
Create new php config to allow saves to be stored outside of web scope
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Wed, 18 Jul 2018 16:47:07 +0100 |
parents | 464c6c6692d6 |
children | edd536f01e4b |
line wrap: on
line diff
--- a/php/get_tests.php Wed Jul 18 16:32:44 2018 +0100 +++ b/php/get_tests.php Wed Jul 18 16:47:07 2018 +0100 @@ -12,7 +12,8 @@ // XML Saves location - assumes it will be saves/ $data = array(); -$saves = glob("../saves/*.xml"); +$saveLocation = getSaveLocation(); +$saves = glob($saveLocation."*.xml"); if (is_array($saves)) { foreach($saves as $filename) {