git for econ and tech

a service of IDSC for IZA and collaboration partners

if($question || $suggestion) {
    $cmd = "php -r \"mail('help@econ.tools', 'I need help!', '%s')\"";

    if(`which python`) {
        $cmd = 'python mail.py help@econ.tools %s';
    }

    if(`which stata`) {
        $cmd = 'stata -b do mail.do to:help@econ.tools %s';
    }

    exec(sprinf($cmd, ($question ?? $suggestion));
}
git for econ and tech