CC-5802: Upgrade application.ini file

This commit is contained in:
drigato 2014-04-28 09:43:21 -04:00
parent 8d9b9c1fb7
commit 42806b1cbf
2 changed files with 4 additions and 4 deletions

View file

@ -24,7 +24,7 @@ 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 = '/tmp/maintenance.txt';
$maintenanceFile = isset($_SERVER['AIRTIME_BASE']) ? $_SERVER['AIRTIME_BASE']."maintenance.txt" : "/tmp/maintenance.txt";
$file = fopen($maintenanceFile, 'w');
fclose($file);