From 2737f52fa18e7a66577a2d481818e5bc2cc6677c Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Thu, 8 Aug 2013 13:21:06 +0300 Subject: [PATCH] rely on gethostname() --- web/inc/mail-wrapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/inc/mail-wrapper.php b/web/inc/mail-wrapper.php index c42d9df9..ae2abb49 100755 --- a/web/inc/mail-wrapper.php +++ b/web/inc/mail-wrapper.php @@ -23,7 +23,7 @@ if (!empty( $data['config']['LANGUAGE'])) { require_once('/usr/local/vesta/web/inc/i18n/'.$_SESSION['language'].'.php'); // Define vars -$from = 'Vesta Control Panel '; +$from = 'Vesta Control Panel '; $to = $argv[3]."\n"; $subject = $argv[2]."\n"; $mailtext = file_get_contents("php://stdin");