CC-4624: phone_home_stat is broken in Ubuntu 12.10, with php 5.4

-fixed
This commit is contained in:
Martin Konecny 2012-10-25 12:25:02 -04:00
parent 4daaa776e2
commit f9f3f9527e
4 changed files with 8 additions and 0 deletions

View File

@ -2,6 +2,8 @@
AirtimeCheck::ExitIfNotRoot();
date_default_timezone_set("UTC");
$sapi_type = php_sapi_name();
$showColor = !in_array("--no-color", $argv);

View File

@ -2,6 +2,8 @@
exitIfNotRoot();
date_default_timezone_set("UTC");
$airtimeIni = getAirtimeConf();
$airtime_base_dir = $airtimeIni['general']['airtime_dir'];

View File

@ -2,6 +2,8 @@
exitIfNotRoot();
date_default_timezone_set("UTC");
$values = parse_ini_file('/etc/airtime/airtime.conf', true);
// Name of the web server user

View File

@ -1,4 +1,6 @@
<?php
date_default_timezone_set("UTC");
$values = parse_ini_file('/etc/airtime/airtime.conf', true);
// Name of the web server user