CC-5814: 'Down for maintenance' page during upgrades

This commit is contained in:
drigato 2014-04-24 16:19:55 -04:00
parent 069ebd3991
commit f536a7b1b4
5 changed files with 36 additions and 0 deletions

View file

@ -18,4 +18,9 @@ class IndexController extends Zend_Controller_Action
$this->_helper->layout->setLayout('layout');
}
public function maintenanceAction()
{
$this->getResponse()->setHttpResponseCode(503);
}
}