Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas
Conflicts: airtime_mvc/locale/cs_CZ/LC_MESSAGES/airtime.po airtime_mvc/locale/de_AT/LC_MESSAGES/airtime.po airtime_mvc/locale/de_DE/LC_MESSAGES/airtime.po airtime_mvc/locale/el_GR/LC_MESSAGES/airtime.po airtime_mvc/locale/en_CA/LC_MESSAGES/airtime.po airtime_mvc/locale/en_GB/LC_MESSAGES/airtime.po airtime_mvc/locale/en_US/LC_MESSAGES/airtime.po airtime_mvc/locale/es_ES/LC_MESSAGES/airtime.po airtime_mvc/locale/fr_FR/LC_MESSAGES/airtime.po airtime_mvc/locale/hr_HR/LC_MESSAGES/airtime.po airtime_mvc/locale/hu_HU/LC_MESSAGES/airtime.po airtime_mvc/locale/it_IT/LC_MESSAGES/airtime.po airtime_mvc/locale/ko_KR/LC_MESSAGES/airtime.po airtime_mvc/locale/nl_NL/LC_MESSAGES/airtime.po airtime_mvc/locale/pl_PL/LC_MESSAGES/airtime.po airtime_mvc/locale/pt_BR/LC_MESSAGES/airtime.po airtime_mvc/locale/ru_RU/LC_MESSAGES/airtime.po airtime_mvc/locale/sr_RS/LC_MESSAGES/airtime.po airtime_mvc/locale/sr_RS@latin/LC_MESSAGES/airtime.po airtime_mvc/locale/template/airtime.po airtime_mvc/locale/zh_CN/LC_MESSAGES/airtime.po
This commit is contained in:
commit
446eca057c
20 changed files with 257 additions and 71 deletions
15
airtime_mvc/application/controllers/plugins/Maintenance.php
Normal file
15
airtime_mvc/application/controllers/plugins/Maintenance.php
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
class Zend_Controller_Plugin_Maintenance extends Zend_Controller_Plugin_Abstract
|
||||
{
|
||||
protected $maintenanceFile = '/tmp/maintenance.txt';
|
||||
|
||||
public function preDispatch(Zend_Controller_Request_Abstract $request) {
|
||||
if (file_exists($this->maintenanceFile)) {
|
||||
$request->setModuleName('default')
|
||||
->setControllerName('index')
|
||||
->setActionName('maintenance')
|
||||
->setDispatched(true);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue