Forget require

This commit is contained in:
Michael RICOIS 2012-10-25 14:41:54 +00:00
parent d622977dac
commit 501533fc8f

View File

@ -41,7 +41,8 @@ class ErrorController extends Zend_Controller_Action
$message.= "Referer : ".$_SERVER['HTTP_REFERER']."\n";
$configuration = Zend_Registry::get('configuration');
$configuration = Zend_Registry::get('configuration');
require_once 'Scores/Mail.php';
$mail = new Mail();
$mail->setSubject('[ERREUR APPLICATIVE] - '.$configuration->server->name.' -'.date('Ymd'));
$mail->setBodyTexte($message);