mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 05:32:39 +01:00
Fixes #798 Setup error
This commit is contained in:
parent
263fe35923
commit
65164cbaf3
@ -100,7 +100,10 @@ class AppController extends BaseController
|
||||
|
||||
$config = '';
|
||||
foreach ($_ENV as $key => $val) {
|
||||
if (preg_match('/\s/',$val)) {
|
||||
if (is_array($val)) {
|
||||
continue;
|
||||
}
|
||||
if (preg_match('/\s/', $val)) {
|
||||
$val = "'{$val}'";
|
||||
}
|
||||
$config .= "{$key}={$val}\n";
|
||||
|
Loading…
Reference in New Issue
Block a user