Skip to content

Commit 80ce702

Browse files
author
Chris Proud
authored
Remove Trim() from around dir env settings
1 parent 0c1b04d commit 80ce702

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

config.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,11 @@
140140

141141
/* Uploads setup */
142142
if (isset($_ENV['PMA_UPLOADDIR'])) {
143-
$cfg['UploadDir'] = trim($_ENV['PMA_UPLOADDIR']);
143+
$cfg['UploadDir'] = $_ENV['PMA_UPLOADDIR'];
144144
}
145145

146146
if (isset($_ENV['PMA_SAVEDIR'])) {
147-
$cfg['SaveDir'] = trim($_ENV['PMA_SAVEDIR']);
147+
$cfg['SaveDir'] = $_ENV['PMA_SAVEDIR'];
148148
}
149149

150150
if (isset($_ENV['MAX_EXECUTION_TIME'])) {

0 commit comments

Comments
 (0)