Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
MK
ISPConfig 3
Commits
5a56e6a9
Commit
5a56e6a9
authored
May 07, 2015
by
Marius Cramer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Suppress errors on tmp_out array
parent
bb690d44
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
install/install.php
install/install.php
+2
-2
No files found.
install/install.php
View file @
5a56e6a9
...
...
@@ -171,7 +171,7 @@ $install_mode = $inst->simple_query('Installation mode', array('standard', 'expe
//** Get the hostname
$tmp_out
=
array
();
exec
(
'hostname -f'
,
$tmp_out
);
$conf
[
'hostname'
]
=
$tmp_out
[
0
];
$conf
[
'hostname'
]
=
@
$tmp_out
[
0
];
unset
(
$tmp_out
);
//** Prevent empty hostname
$check
=
false
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment