Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas
Conflicts: airtime_mvc/application/controllers/UpgradeController.php
This commit is contained in:
commit
1de58c64d6
2 changed files with 5 additions and 4 deletions
|
@ -24,7 +24,8 @@ class UpgradeController extends Zend_Controller_Action
|
|||
//create a temporary maintenance notification file
|
||||
//when this file is on the server, zend framework redirects all
|
||||
//requests to the maintenance page and sets a 503 response code
|
||||
$maintenanceFile = $_SERVER['AIRTIME_BASE']."maintenance.txt";
|
||||
|
||||
$maintenanceFile = isset($_SERVER['AIRTIME_BASE']) ? $_SERVER['AIRTIME_BASE']."maintenance.txt" : "/tmp/maintenance.txt";
|
||||
$file = fopen($maintenanceFile, 'w');
|
||||
fclose($file);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue