CC-2579: Upgrad fails 1.8->1.9

- moved all the config files to each upgrade dir
- also fixed back up name of 1.9.0 conifg to 1.9.0(from 1.8.1)
This commit is contained in:
james 2011-07-22 15:32:10 -04:00
parent d1494c1735
commit a84cb7fc37
9 changed files with 5 additions and 10 deletions

View file

@ -112,7 +112,6 @@ function LoadConfig($CC_CONFIG) {
*/
function CreateIniFiles()
{
global $AIRTIME_SRC;
global $AIRTIME_PYTHON_APPS;
if (!file_exists("/etc/airtime/")){
@ -122,7 +121,7 @@ function CreateIniFiles()
}
}
if (!copy($AIRTIME_SRC."/build/airtime.conf.182", CONF_FILE_AIRTIME)){
if (!copy("airtime.conf.182", CONF_FILE_AIRTIME)){
echo "Could not copy airtime.conf to /etc/airtime/. Exiting.";
exit(1);
}

View file

@ -0,0 +1,24 @@
[database]
host = localhost
dbname = airtime
dbuser = airtime
dbpass = airtime
[rabbitmq]
host = 127.0.0.1
port = 5672
user = guest
password = guest
vhost = /
[general]
api_key = AAA
web_server_user = www-data
airtime_dir = x
base_files_dir = x
base_url = localhost
base_port = 80
[soundcloud]
connection_retries = 3
time_between_retries = 60