[phpMyAdmin Git] [phpmyadmin/error-reporting-server] 9ca144: Fix undefined vars in default template

Michal Čihař michal at cihar.com
Fri May 12 14:10:32 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/phpmyadmin/error-reporting-server
  Commit: 9ca1449c14e2b23159eea98ece4fcc8d26c01e80
      https://github.com/phpmyadmin/error-reporting-server/commit/9ca1449c14e2b23159eea98ece4fcc8d26c01e80
  Author: Deven Bansod <devenbansod.bits at gmail.com>
  Date:   2017-05-10 (Wed, 10 May 2017)

  Changed paths:
    A src/Controller/ErrorController.php
    M src/Controller/IncidentsController.php

  Log Message:
  -----------
  Fix undefined vars in default template

* AppController::beforeFilter is not called for when error/exception pages are rendered.
* Explicitly define a new ErrorController (extending AppController) and call parent::beforeFilter
so that the variables are properly initialized before rendering the error page

Fix #134
Fix #135
Fix #136
Fix #142

Signed-off-by: Deven Bansod <devenbansod.bits at gmail.com>


  Commit: aed5b3b929ff67c5d6dcca2a07aea0ed4403eef8
      https://github.com/phpmyadmin/error-reporting-server/commit/aed5b3b929ff67c5d6dcca2a07aea0ed4403eef8
  Author: Michal Čihař <michal at cihar.com>
  Date:   2017-05-12 (Fri, 12 May 2017)

  Changed paths:
    A src/Controller/ErrorController.php
    M src/Controller/IncidentsController.php

  Log Message:
  -----------
  Merge pull request #144 from devenbansod/fix_undefined_errors

Fix undefined vars in default template


Compare: https://github.com/phpmyadmin/error-reporting-server/compare/82cbc46831e4...aed5b3b929ff


More information about the Git mailing list