mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-30 18:49:46 +08:00
36 lines
578 B
PHP
36 lines
578 B
PHP
|
<?php
|
||
|
|
||
|
// TODO
|
||
|
|
||
|
/**
|
||
|
* @return string
|
||
|
*/
|
||
|
function __get_custom_data_full_path()
|
||
|
{
|
||
|
return '';
|
||
|
return '/var/rainloop-data-folder/'; // custom data folder path
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @param string $siteName
|
||
|
* @return string
|
||
|
*/
|
||
|
function __get_private_data_folder_internal_name($siteName)
|
||
|
{
|
||
|
return '_default_'; // default domain folder name
|
||
|
return $siteName;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @param string $siteName
|
||
|
* @return string
|
||
|
*/
|
||
|
function __get_core_install_access_site($siteName)
|
||
|
{
|
||
|
return $siteName; // allow all
|
||
|
|
||
|
return in_array($siteName, array(
|
||
|
'domain.com', 'domain.net'
|
||
|
)) ? $siteName : '';
|
||
|
}
|