diff --git a/deploy/phpConfig/general.json b/deploy/phpConfig/general.json index beb5f67aecd151339c42354e6d3f0ab78fa16484..1afb83ec0994a64b25762d7b23fa3cabe4ba8495 100644 --- a/deploy/phpConfig/general.json +++ b/deploy/phpConfig/general.json @@ -5,5 +5,6 @@ "active": 0, "return": "info stub" }, - "Logging": true -} \ No newline at end of file + "Logging": true, + "SupportServiceEmail": "it.lab.mmcs@gmail.com" +} diff --git a/~dev_rating/application/classes/Controller/Handler/RequestsProcessing.php b/~dev_rating/application/classes/Controller/Handler/RequestsProcessing.php index a21038132329829cc4166eeac4e6b68c9f3f0b4e..9090f93b51704745ee74f8fc4e80c2312ddacbf8 100644 --- a/~dev_rating/application/classes/Controller/Handler/RequestsProcessing.php +++ b/~dev_rating/application/classes/Controller/Handler/RequestsProcessing.php @@ -29,7 +29,7 @@ class Controller_Handler_RequestsProcessing extends Controller_Handler { $requestID = (int) $_POST['requestID']; // constructing mail body - $to = 'it.lab.mmcs@gmail.com'; + $to = Model_System::loadConfig('general.json')->SupportServiceEmail; $ticket = 0; if ($requestID <= 0) {