mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-30 10:37:54 +08:00
4cc2207513
Original unminified source code (dev folder - js, css, less) (fixes #6) Grunt build system Multiple identities correction (fixes #9) Compose html editor (fixes #12) New general settings - Loading Description New warning about default admin password Split general and login screen settings
35 lines
578 B
PHP
35 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 : '';
|
|
}
|