Skip to content
Snippets Groups Projects
Commit 084414d3 authored by xamgore's avatar xamgore Committed by PavelBegunkov
Browse files

Move support e-mail from code to config #108

parent 034ffaad
Branches
Tags
No related merge requests found
...@@ -5,5 +5,6 @@ ...@@ -5,5 +5,6 @@
"active": 0, "active": 0,
"return": "info stub" "return": "info stub"
}, },
"Logging": true "Logging": true,
} "SupportServiceEmail": "it.lab.mmcs@gmail.com"
\ No newline at end of file }
...@@ -29,7 +29,7 @@ class Controller_Handler_RequestsProcessing extends Controller_Handler { ...@@ -29,7 +29,7 @@ class Controller_Handler_RequestsProcessing extends Controller_Handler {
$requestID = (int) $_POST['requestID']; $requestID = (int) $_POST['requestID'];
// constructing mail body // constructing mail body
$to = 'it.lab.mmcs@gmail.com'; $to = Model_System::loadConfig('general.json')->SupportServiceEmail;
$ticket = 0; $ticket = 0;
if ($requestID <= 0) { if ($requestID <= 0) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment