This commit is contained in:
Daniel Brendel
2023-12-22 01:05:54 +01:00
parent 8109cae9a9
commit 21b8ad2b85
19 changed files with 340 additions and 12 deletions

View File

@@ -265,10 +265,12 @@ class UtilsModule {
* @param $onlinetimelimit
* @param $chatonlineusers
* @param $chattypingindicator
* @param $enablehistory
* @param $history_name
* @param $cronpw
* @return void
*/
public static function saveEnvironment($workspace, $lang, $scroller, $enablechat, $onlinetimelimit, $chatonlineusers, $chattypingindicator, $cronpw)
public static function saveEnvironment($workspace, $lang, $scroller, $enablechat, $onlinetimelimit, $chatonlineusers, $chattypingindicator, $enablehistory, $history_name, $cronpw)
{
$new_env_settings = [
'APP_WORKSPACE' => $workspace,
@@ -278,6 +280,8 @@ class UtilsModule {
'APP_ONLINEMINUTELIMIT' => $onlinetimelimit,
'APP_SHOWCHATONLINEUSERS' => $chatonlineusers,
'APP_SHOWCHATTYPINGINDICATOR' => $chattypingindicator,
'APP_ENABLEHISTORY' => $enablehistory,
'APP_HISTORY_NAME' => $history_name,
'APP_CRONPW' => $cronpw
];