view php/config.php @ 3137:669f50f1941d

Update README.md
author Brecht De Man <mail@brechtdeman.com>
date Tue, 02 Jul 2019 07:01:50 +0200
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/";
    }
}
?>