Skip to content

Commit

Permalink
Merge pull request #834 from martynas-wm/v1.5.6
Browse files Browse the repository at this point in the history
Fixed issue #449 (Resources remain available even in maintenance mode).
  • Loading branch information
Daniel Kerr committed Aug 12, 2013
2 parents 2691a74 + 11d4bea commit e3de007
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions upload/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,11 @@ function error_handler($errno, $errstr, $errfile, $errline) {
// Front Controller
$controller = new Front($registry);

// SEO URL's
$controller->addPreAction(new Action('common/seo_url'));

// Maintenance Mode
$controller->addPreAction(new Action('common/maintenance'));

// SEO URL's
$controller->addPreAction(new Action('common/seo_url'));

// Router
if (isset($request->get['route'])) {
Expand Down

0 comments on commit e3de007

Please sign in to comment.