mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-25 08:32:57 +08:00
2f67fb2196
Added optional Strict-Transport-Security in _include.php TODO: put them in ./rainloop/v/0.0.0/app/templates/Views/Admin/AdminSettingsSecurity.html
25 lines
520 B
PHP
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
|
|
}
|
|
|