Skip to content

Commit 5a56e6a

Browse files
author
Marius Cramer
committed
Suppress errors on tmp_out array
1 parent bb690d4 commit 5a56e6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/install.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
//** Get the hostname
172172
$tmp_out = array();
173173
exec('hostname -f', $tmp_out);
174-
$conf['hostname']=$tmp_out[0];
174+
$conf['hostname'] = @$tmp_out[0];
175175
unset($tmp_out);
176176
//** Prevent empty hostname
177177
$check = false;
@@ -869,4 +869,4 @@
869869
echo "Installation completed.\n";
870870

871871

872-
?>
872+
?>

0 commit comments

Comments
 (0)