view 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
line wrap: on
line source
<?php
function getSaveLocation() {
    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");
    } else {
        return "../tests/";
    }
}
?>