diff --git a/web/private_php/setup/config/config.php b/web/private_php/setup/config/config.php index 4ec62d551..284bb6204 100644 --- a/web/private_php/setup/config/config.php +++ b/web/private_php/setup/config/config.php @@ -130,6 +130,9 @@ $FORCE_INGAME = false; $FILE_STORAGE_PATH = $PUBLIC_PHP_PATH . '/ams/files/'; $FILE_WEB_PATH = $BASE_WEBPATH . 'files/'; +// Shard web storage (without final /) +$USERS_DIR = '%domainUsersDir%'; + // Setup password $NEL_SETUP_PASSWORD = '%nelSetupPassword%'; diff --git a/web/public_php/webig/template/browse_bar.html b/web/private_php/webig/template/browse_bar.html similarity index 100% rename from web/public_php/webig/template/browse_bar.html rename to web/private_php/webig/template/browse_bar.html diff --git a/web/public_php/webig/template/browse_link.html b/web/private_php/webig/template/browse_link.html similarity index 100% rename from web/public_php/webig/template/browse_link.html rename to web/private_php/webig/template/browse_link.html diff --git a/web/public_php/webig/template/confirm_delete_mail.html b/web/private_php/webig/template/confirm_delete_mail.html similarity index 100% rename from web/public_php/webig/template/confirm_delete_mail.html rename to web/private_php/webig/template/confirm_delete_mail.html diff --git a/web/public_php/webig/template/forum_main.html b/web/private_php/webig/template/forum_main.html similarity index 100% rename from web/public_php/webig/template/forum_main.html rename to web/private_php/webig/template/forum_main.html diff --git a/web/public_php/webig/template/forum_topic.html b/web/private_php/webig/template/forum_topic.html similarity index 100% rename from web/public_php/webig/template/forum_topic.html rename to web/private_php/webig/template/forum_topic.html diff --git a/web/public_php/webig/template/mail.html b/web/private_php/webig/template/mail.html similarity index 100% rename from web/public_php/webig/template/mail.html rename to web/private_php/webig/template/mail.html diff --git a/web/public_php/webig/template/mailbox_mail.html b/web/private_php/webig/template/mailbox_mail.html similarity index 100% rename from web/public_php/webig/template/mailbox_mail.html rename to web/private_php/webig/template/mailbox_mail.html diff --git a/web/public_php/webig/template/mailbox_main.html b/web/private_php/webig/template/mailbox_main.html similarity index 100% rename from web/public_php/webig/template/mailbox_main.html rename to web/private_php/webig/template/mailbox_main.html diff --git a/web/public_php/webig/template/new_mail.html b/web/private_php/webig/template/new_mail.html similarity index 100% rename from web/public_php/webig/template/new_mail.html rename to web/private_php/webig/template/new_mail.html diff --git a/web/public_php/webig/template/new_post.html b/web/private_php/webig/template/new_post.html similarity index 100% rename from web/public_php/webig/template/new_post.html rename to web/private_php/webig/template/new_post.html diff --git a/web/public_php/webig/template/new_thread.html b/web/private_php/webig/template/new_thread.html similarity index 100% rename from web/public_php/webig/template/new_thread.html rename to web/private_php/webig/template/new_thread.html diff --git a/web/public_php/webig/template/topic_main.html b/web/private_php/webig/template/topic_main.html similarity index 100% rename from web/public_php/webig/template/topic_main.html rename to web/private_php/webig/template/topic_main.html diff --git a/web/public_php/webig/template/topic_post.html b/web/private_php/webig/template/topic_post.html similarity index 100% rename from web/public_php/webig/template/topic_post.html rename to web/private_php/webig/template/topic_post.html diff --git a/web/public_php/setup/install.php b/web/public_php/setup/install.php index 67f27f5c0..ef7cf169f 100644 --- a/web/public_php/setup/install.php +++ b/web/public_php/setup/install.php @@ -151,6 +151,7 @@ require_once('setup/version.php'); $config = str_replace("%amsLibDatabase%", addslashes($_POST["amsLibDatabase"]), $config); $config = str_replace("%nelSetupPassword%", addslashes($_POST["nelSetupPassword"]), $config); $config = str_replace("%domainDatabase%", addslashes($_POST["domainDatabase"]), $config); + $config = str_replace("%domainUsersDir%", addslashes($_POST["domainUsersDir"]), $config); $config = str_replace("%nelDomainName%", addslashes($_POST["nelDomainName"]), $config); $config = str_replace("%nelSetupVersion%", addslashes($NEL_SETUP_VERSION), $config); $cryptKeyLength = 16; @@ -532,6 +533,12 @@ require_once('setup/version.php'); +