diff --git a/application/configs/application.ini.sample b/application/configs/application.ini.sample index 0096c93e4d2642029e5209cb4bbe6da291744957..f83e1f46bfa92d603e7cd2cf95fdd62e43a2892f 100644 --- a/application/configs/application.ini.sample +++ b/application/configs/application.ini.sample @@ -40,7 +40,7 @@ unl.templates.options.templatedependentspath = APPLICATION_PATH "/../document_ro ldap.uri = "ldap://example.com" ldap.dn = "uid=user,dc=example,dc=com" ldap.password = "password" -resources.errors.notifyEmails = "" +unl.errors.notifyEmails = "" resources.frontController.moduleDirectory = APPLICATION_PATH "/modules" resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts/" resources.layout.layout = "unl_wdn" diff --git a/application/modules/default/controllers/ErrorController.php b/application/modules/default/controllers/ErrorController.php index 2c2e7c089d8469ab977b535e6fb26f2efdbdf53f..a0015d72f26169092a1f4f1d641b0e4dae87c531 100644 --- a/application/modules/default/controllers/ErrorController.php +++ b/application/modules/default/controllers/ErrorController.php @@ -32,7 +32,7 @@ class ErrorController extends Creq_Controller_Action { $front = Zend_Controller_Front::getInstance(); $options = $front->getParam('bootstrap')->getOptions(); - $emails = explode(",", $options['resources']['errors']['notifyEmails']); + $emails = explode(",", $options['unl']['errors']['notifyEmails']); $this->_sendEmail($emails); $this->view->exceptions = $this->_exceptions; diff --git a/application/modules/default/models/NotifyEmailModel.php b/application/modules/default/models/NotifyEmailModel.php index 591907320aea3c172b9b220e25c276ba795cea2e..6f0cd7de0eddc963b1f5293fb1a4b67e9bfe81ca 100644 --- a/application/modules/default/models/NotifyEmailModel.php +++ b/application/modules/default/models/NotifyEmailModel.php @@ -6,7 +6,7 @@ class NotifyEmailModel { $front = Zend_Controller_Front::getInstance(); $options = $front->getParam('bootstrap')->getOptions(); - $emails = explode(",", $options['resources']['errors']['notifyEmails']); + $emails = explode(",", $options['unl']['errors']['notifyEmails']); $mail = new Zend_Mail('utf-8'); $mail->setFrom('php@' . $_SERVER['SERVER_NAME'], $_SERVER['SERVER_NAME']);