2021-02-01 15:17:04 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
$cloudEnvironmentId = getenv('CLOUDENV_ENVIRONMENT_ID');
|
|
|
|
|
2021-02-08 20:08:42 +03:00
|
|
|
$CONFIG = [
|
|
|
|
'mail_from_address' => 'no-reply',
|
|
|
|
'mail_smtpmode' => 'smtp',
|
|
|
|
'mail_sendmailmode' => 'smtp',
|
|
|
|
'mail_domain' => 'example.com',
|
|
|
|
'mail_smtphost' => 'localhost',
|
2021-02-08 20:16:29 +03:00
|
|
|
'mail_smtpport' => '1025',
|
|
|
|
'memcache.local' => '\OC\Memcache\APCu',
|
2021-02-08 20:08:42 +03:00
|
|
|
];
|
|
|
|
|
|
|
|
if($cloudEnvironmentId !== true) {
|
|
|
|
$CONFIG['overwritehost'] = $cloudEnvironmentId . '-80.apps.codespaces.githubusercontent.com';
|
2021-02-15 18:48:39 +03:00
|
|
|
$CONFIG['overwriteprotocol'] = 'https';
|
2021-02-01 15:17:04 +03:00
|
|
|
}
|