aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/extensionController.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2019-08-15 17:19:12 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-08-15 17:19:12 +0200
commitde26531178c61c98dcb7b7634c9e5891c302f615 (patch)
tree9f425a4bd20959ee3452806955035e2c2c46e08c /app/Controllers/extensionController.php
parent20c38d7083b188a70ac78362cc6af4c521a479c3 (diff)
tec: Provide a Minz_Mailer class (#2476)
* Add Minz_View::_path method (replace change_view) The `_path` method is more powerful since it allows to choose the file extension. It is also Minz_Request-agnostic, which is useful to reuse the Minz_View class in other places. `change_view` is now deprecated and a warning is logged if we use it. * Provide a Minz_Mailer to send emails It uses PHPMailer under the hood and only supports PHP >= 5.5
Diffstat (limited to 'app/Controllers/extensionController.php')
-rw-r--r--app/Controllers/extensionController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/extensionController.php b/app/Controllers/extensionController.php
index 9a523e0ad..68bd90f4c 100644
--- a/app/Controllers/extensionController.php
+++ b/app/Controllers/extensionController.php
@@ -83,7 +83,7 @@ class FreshRSS_extension_Controller extends Minz_ActionController {
$this->view->_layout(false);
} else {
$this->indexAction();
- $this->view->change_view('extension', 'index');
+ $this->view->_path('extension/index.phtml');
}
$ext_name = urldecode(Minz_Request::param('e'));