Forget require
This commit is contained in:
parent
d622977dac
commit
501533fc8f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user