mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-06-28 06:46:27 +00:00
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
This commit is contained in:
@@ -2,13 +2,16 @@
|
||||
|
||||
// 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 '/var/external-rainloop-data-folder/'; // custom data folder path
|
||||
return dirname(__DIR__) . '/rainloop-data';
|
||||
return '/var/external-rainloop-data-folder'; // custom data folder path
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -19,3 +22,4 @@ function __get_additional_configuration_name()
|
||||
return '';
|
||||
return defined('APP_SITE') && 0 < strlen(APP_SITE) ? APP_SITE.'.ini' : ''; // additional configuration file name
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user