mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-27 09:36:09 +08:00
32 lines
672 B
PHP
32 lines
672 B
PHP
<?php
|
|
|
|
// Name this file as "include.php" to enable it.
|
|
|
|
//header('Strict-Transport-Security: max-age=31536000');
|
|
|
|
// Uncomment to use gzip encoded output
|
|
//define('USE_GZIP', 1);
|
|
|
|
// Uncomment to enable multiple domain installation.
|
|
//define('MULTIDOMAIN', 1);
|
|
|
|
/**
|
|
* Custom 'data' folder path
|
|
* @return string
|
|
*/
|
|
function __get_custom_data_full_path()
|
|
{
|
|
return '';
|
|
return dirname(__DIR__) . '/snappymail-data';
|
|
return '/var/external-snappymail-data-folder';
|
|
}
|
|
|
|
/**
|
|
* Additional configuration file name
|
|
* @return string
|
|
*/
|
|
function __get_additional_configuration_name()
|
|
{
|
|
return '';
|
|
return defined('APP_SITE') && 0 < strlen(APP_SITE) ? APP_SITE.'.ini' : '';
|
|
}
|