aboutsummaryrefslogtreecommitdiffstats
path: root/.devcontainer/codespace.config.php
blob: 6908aa8475f1d0f7efe31c8ce9e4bc7f0a2f6030 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

$cloudEnvironmentId = getenv('CLOUDENV_ENVIRONMENT_ID');

$CONFIG = [
    'mail_from_address' => 'no-reply',
    'mail_smtpmode' => 'smtp',
    'mail_sendmailmode' => 'smtp',
    'mail_domain' => 'example.com',
    'mail_smtphost' => 'localhost',
    'mail_smtpport' => '1025'
];

if($cloudEnvironmentId !== true) {
    $CONFIG['overwritehost'] = $cloudEnvironmentId . '-80.apps.codespaces.githubusercontent.com';
}