Skip to content

Commit 400f5ac

Browse files
committed
Updated configuration template file
1 parent 7e939c4 commit 400f5ac

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

imscp.config.inc.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@
2727
$i++;
2828
/* Authentication type */
2929
$cfg['Servers'][$i]['auth_type'] = 'cookie';
30+
31+
/**
32+
* Parameters set by i-MSCP
33+
*/
34+
$cfg['Servers'][$i]['user'] = $_POST['pma_username'];
35+
$cfg['Servers'][$i]['password'] = $_POST['pma_password'];
36+
37+
3038
/* Server parameters */
3139
$cfg['Servers'][$i]['host'] = '{HOSTNAME}';
3240
$cfg['Servers'][$i]['port'] = '{PORT}';
@@ -93,6 +101,11 @@
93101
$cfg['UploadDir'] = '{UPLOADS_DIR}';
94102
//$cfg['SaveDir'] = '';
95103

104+
/**
105+
* The name of the directory where temporary files can be stored.
106+
*/
107+
$cfg['TempDir'] = '{TMP_DIR}';
108+
96109
/**
97110
* Whether or not to query the user before sending the error report to
98111
* the phpMyAdmin team when a JavaScript error occurs
@@ -118,6 +131,8 @@
118131
$cfg['AllowAnywhereRecoding'] = true;
119132
$cfg['IconvExtraParams'] = '//TRANSLIT';
120133
$cfg['GD2Available'] = 'yes';
134+
$cfg['ShowServerInfo'] = false;
135+
$cfg['ShowStats'] = false;
121136

122137
/**
123138
* You can find more configuration options in the documentation

0 commit comments

Comments
 (0)