* fix app->error to app->triggerError.

This commit is contained in:
wyd621
2013-07-29 14:05:29 +08:00
parent 90966238f5
commit fb1b8520a3
5 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ class mailModel extends model
$this->mta = self::$instance;
$this->mta->CharSet = $this->config->charset;
$funcName = "set{$this->config->mail->mta}";
if(!method_exists($this, $funcName)) $this->app->error("The MTA {$this->config->mail->mta} not supported now.", __FILE__, __LINE__, $exit = true);
if(!method_exists($this, $funcName)) $this->app->triggerError("The MTA {$this->config->mail->mta} not supported now.", __FILE__, __LINE__, $exit = true);
$this->$funcName();
}