snappymail/_include.php

31 lines
670 B
PHP
Raw Normal View History

2020-03-11 21:17:52 +08:00
<?php
// Name this file as "include.php" to enable it.
2020-08-16 02:23:34 +08:00
//header('Strict-Transport-Security: max-age=31536000');
2020-10-01 17:10:40 +08:00
// Uncomment to use gzip encoded output
//define('USE_GZIP', 1);
// Uncomment to enable multiple domain installation.
//define('MULTIDOMAIN', 1);
2020-03-11 21:17:52 +08:00
/**
* @return string
*/
function __get_custom_data_full_path()
{
return '';
return dirname(__DIR__) . '/snappymail-data';
return '/var/external-snappymail-data-folder'; // custom data folder path
2020-03-11 21:17:52 +08:00
}
/**
* @return string
*/
function __get_additional_configuration_name()
{
return '';
return defined('APP_SITE') && 0 < strlen(APP_SITE) ? APP_SITE.'.ini' : ''; // additional configuration file name
}