snappymail/_include.php

36 lines
742 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);
// Uncomment to disable APCU.
//define('APP_USE_APCU_CACHE', false);
2020-03-11 21:17:52 +08:00
/**
2020-11-03 23:22:26 +08:00
* Custom 'data' folder path
2020-03-11 21:17:52 +08:00
* @return string
*/
function __get_custom_data_full_path()
{
return '';
return dirname(__DIR__) . '/snappymail-data';
2020-11-03 23:22:26 +08:00
return '/var/external-snappymail-data-folder';
2020-03-11 21:17:52 +08:00
}
/**
2020-11-03 23:22:26 +08:00
* Additional configuration file name
2020-03-11 21:17:52 +08:00
* @return string
*/
function __get_additional_configuration_name()
{
return '';
2020-11-03 23:22:26 +08:00
return defined('APP_SITE') && 0 < strlen(APP_SITE) ? APP_SITE.'.ini' : '';
2020-03-11 21:17:52 +08:00
}