mirror of
https://github.com/myvesta/vesta
synced 2025-07-31 12:00:51 -07:00
rely on gethostname()
This commit is contained in:
parent
44d78bbef6
commit
2737f52fa1
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ if (!empty( $data['config']['LANGUAGE'])) {
|
||||||
require_once('/usr/local/vesta/web/inc/i18n/'.$_SESSION['language'].'.php');
|
require_once('/usr/local/vesta/web/inc/i18n/'.$_SESSION['language'].'.php');
|
||||||
|
|
||||||
// Define vars
|
// Define vars
|
||||||
$from = 'Vesta Control Panel <vesta@'.$_SERVER["HOSTNAME"].'>';
|
$from = 'Vesta Control Panel <vesta@'.gethostname().'>';
|
||||||
$to = $argv[3]."\n";
|
$to = $argv[3]."\n";
|
||||||
$subject = $argv[2]."\n";
|
$subject = $argv[2]."\n";
|
||||||
$mailtext = file_get_contents("php://stdin");
|
$mailtext = file_get_contents("php://stdin");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue