mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-06-28 06:46:27 +00:00
Uploading and preparing the repository to the dev version.
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
This commit is contained in:
35
_include.php
Normal file
35
_include.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?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 : '';
|
||||
}
|
||||
Reference in New Issue
Block a user