Skip to content

Commit

Permalink
pkp/pkp-lib#3242 Move request injection into template manager initial…
Browse files Browse the repository at this point in the history
…ization
  • Loading branch information
asmecher committed Jun 7, 2018
1 parent d7160cd commit d583c9c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions classes/template/TemplateManager.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@

class TemplateManager extends PKPTemplateManager {
/**
* Constructor.
* Initialize template engine and assign basic template variables.
* @param $request PKPRequest
*/
function __construct($request) {
parent::__construct($request);
function initialize($request) {
parent::initialize($request);
AppLocale::requireComponents(LOCALE_COMPONENT_APP_COMMON);

if (!defined('SESSION_DISABLE_INIT')) {
Expand Down

0 comments on commit d583c9c

Please sign in to comment.