snappymail/_include.php

28 lines
578 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');
//define('USE_GZIP', true); // to use gzip encoded output
2020-03-11 21:17:52 +08:00
/**
* @return string
*/
function __get_custom_data_full_path()
{
return '';
return dirname(__DIR__) . '/rainloop-data';
return '/var/external-rainloop-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
}