CC-3098: Upgrade scripts don't work
-minor tweaks
This commit is contained in:
parent
54f6ea6f81
commit
e93b02ef34
8 changed files with 30 additions and 19 deletions
|
@ -16,6 +16,8 @@ require_once 'propel/runtime/lib/Propel.php';
|
|||
set_include_path(__DIR__.'/propel' . PATH_SEPARATOR . get_include_path());
|
||||
Propel::init(__DIR__."/propel/airtime-conf.php");
|
||||
|
||||
date_default_timezone_set(exec("cat /etc/timezone"));
|
||||
|
||||
|
||||
const CONF_DIR_BINARIES = "/usr/lib/airtime";
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
require_once(dirname(__FILE__).'/../../include/AirtimeInstall.php');
|
||||
date_default_timezone_set(exec("cat /etc/timezone"));
|
||||
|
||||
class Airtime192Upgrade{
|
||||
|
||||
public static function InstallAirtimePhpServerCode($phpDir)
|
||||
|
@ -183,4 +185,4 @@
|
|||
$phpDir = $values['general']['airtime_dir'];
|
||||
Airtime192Upgrade::InstallAirtimePhpServerCode($phpDir);
|
||||
AirtimeInstall::CreateSymlinksToUtils();
|
||||
?>
|
||||
?>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
require_once(dirname(__FILE__).'/../../include/AirtimeInstall.php');
|
||||
date_default_timezone_set(exec("cat /etc/timezone"));
|
||||
|
||||
class Airtime193Upgrade{
|
||||
|
||||
public static function InstallAirtimePhpServerCode($phpDir)
|
||||
|
@ -174,4 +176,4 @@
|
|||
$phpDir = $values['general']['airtime_dir'];
|
||||
Airtime193Upgrade::InstallAirtimePhpServerCode($phpDir);
|
||||
AirtimeInstall::CreateSymlinksToUtils();
|
||||
?>
|
||||
?>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
require_once(dirname(__FILE__).'/../../include/AirtimeInstall.php');
|
||||
date_default_timezone_set(exec("cat /etc/timezone"));
|
||||
|
||||
class Airtime194Upgrade{
|
||||
|
||||
const CONF_FILE_LIQUIDSOAP = "/etc/airtime/liquidsoap.cfg";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue