@@ -41,8 +41,7 @@ use yii\helpers\Html; | |||
/* @var $this \yii\web\View view component instance */ | |||
/* @var $message \yii\mail\MessageInterface the message being composed */ | |||
/* @var $content string main view render result */ | |||
?> | |||
<?php $this->beginPage() ?> | |||
?><?php $this->beginPage() ?> | |||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |||
<html xmlns="http://www.w3.org/1999/xhtml"> | |||
<head> |
@@ -170,6 +170,9 @@ class SiteController extends ProducerBaseController | |||
if (strlen($email) && $model->sendEmail($email)) { | |||
$isSent = true; | |||
} | |||
else { | |||
die('email : '.$email); | |||
} | |||
} | |||
if ($isSent) { |
@@ -11,6 +11,6 @@ return [ | |||
'updated_at' => '1392559490', | |||
'email' => 'sfriesen@jenkins.info', | |||
'id_producer' => 32, | |||
'status' => 13 | |||
'status' => 11 | |||
], | |||
]; |
@@ -1,4 +1,7 @@ | |||
<?php | |||
ini_set("display_errors", 0); | |||
defined('YII_DEBUG') or define('YII_DEBUG', true); | |||
defined('YII_ENV') or define('YII_ENV', 'test'); | |||