Commit 281ba82c authored by songxiaohang's avatar songxiaohang

add:邮件组

parent 88c359c1
...@@ -22,7 +22,7 @@ class Email ...@@ -22,7 +22,7 @@ class Email
return false; return false;
} }
$env = Application::app()->environ(); $env = Application::app()->environ();
if($env != 'test' || $env != 'prod' || $env != 'perf'){ if($env != 'test' && $env != 'prod' && $env != 'perf'){
return false; return false;
} }
if (empty($from)) { if (empty($from)) {
......
Markdown is supported
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