snappymail/_include.php
djmaze 2f67fb2196 Force CSP, X-Frame DENY, no-referrer
Added optional Strict-Transport-Security in _include.php
TODO: put them in ./rainloop/v/0.0.0/app/templates/Views/Admin/AdminSettingsSecurity.html
2020-08-06 14:33:50 +02:00

25 lines
520 B
PHP

<?php
// Name this file as "include.php" to enable it.
//\header('Strict-Transport-Security: max-age=31536000');
/**
* @return string
*/
function __get_custom_data_full_path()
{
return '';
return dirname(__DIR__) . '/rainloop-data';
return '/var/external-rainloop-data-folder'; // custom data folder path
}
/**
* @return string
*/
function __get_additional_configuration_name()
{
return '';
return defined('APP_SITE') && 0 < strlen(APP_SITE) ? APP_SITE.'.ini' : ''; // additional configuration file name
}