Bugfix: Warning when in CLI-mode
This commit is contained in:
parent
e4bd9a6886
commit
19766c4e0e
@ -23,7 +23,7 @@
|
|||||||
'name' => 'url',
|
'name' => 'url',
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
'comment' => '(with trailing slash)',
|
'comment' => '(with trailing slash)',
|
||||||
'default' => 'http://' . $_SERVER['HTTP_HOST'] . $config['root'],
|
'default' => (isset($_SERVER['HTTP_HOST']) ? 'http://' . $_SERVER['HTTP_HOST'] . $config['root'] : ''),
|
||||||
'size' => '20'
|
'size' => '20'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user