view php/config.php @ 3122:3e97bf9d24cf

YAUC
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Wed, 18 Jul 2018 16:52:21 +0100
parents 53d701288da5
children 8bef85957a2f
line wrap: on
line source
<?php
function getSaveLocation() {
    if (isset($_ENV["WAET_SAVES_LOCATION"])) {
        return $_ENV["WAET_SAVES_LOCATION"];
    } else {
        return "../saves/";
    }
}
function getTestLocation() {
    if (isset($_ENV["WAET_TEST_LOCATION"])) {
        return $_ENV["WAET_TEST_LOCATION"];
    } else {
        return "../tests/";
    }
}
?>