diff --git a/_MULTIPLY b/_MULTIPLY new file mode 100644 index 000000000..77250d4ab --- /dev/null +++ b/_MULTIPLY @@ -0,0 +1 @@ +Rename this file to "MULTIPLY" to enable multiple domain installation \ No newline at end of file diff --git a/_include.php b/_include.php index 319f3bd8d..eefd7e088 100644 --- a/_include.php +++ b/_include.php @@ -1,6 +1,6 @@
-
- -
+ +   
diff --git a/rainloop/v/0.0.0/index.php b/rainloop/v/0.0.0/index.php index dfbdc3a3a..478d105ee 100644 --- a/rainloop/v/0.0.0/index.php +++ b/rainloop/v/0.0.0/index.php @@ -24,8 +24,7 @@ define('APP_DEFAULT_PRIVATE_DATA_NAME', '_default_'); - $sPrivateDataFolderInternalName = function_exists('__get_private_data_folder_internal_name') ? - trim(__get_private_data_folder_internal_name(APP_SITE)) : ''; + $sPrivateDataFolderInternalName = @file_exists(APP_INDEX_ROOT_PATH.'MULTIPLY') ? APP_SITE : ''; define('APP_PRIVATE_DATA_NAME', 0 === strlen($sPrivateDataFolderInternalName) ? APP_DEFAULT_PRIVATE_DATA_NAME : $sPrivateDataFolderInternalName); define('APP_MULTIPLY', 0 < strlen($sPrivateDataFolderInternalName) && APP_DEFAULT_PRIVATE_DATA_NAME !== APP_PRIVATE_DATA_NAME);