CC-1024 Update installation/build for webapp-only

Moved more installation stuff into PHP.  For some reason it's having trouble
creating the cc_playlistcontents table.  Removed old installer files that
are no longer used.
This commit is contained in:
paul.baranowski 2010-10-04 17:00:20 -04:00
parent 2eea85d502
commit 739801d180
11 changed files with 235 additions and 1525 deletions

View file

@ -1,5 +1,4 @@
<?php
define('ACCESS_TYPE', 'restore');
/**
* @package Campcaster
@ -49,6 +48,8 @@ class Restore {
*/
private $gb;
private $ACCESS_TYPE = 'restore';
/**
* @param GreenBox $gb
* greenbox object reference
@ -58,7 +59,7 @@ class Restore {
global $CC_CONFIG;
$this->gb =& $gb;
$this->token = null;
$this->logFile = $CC_CONFIG['bufferDir'].'/'.ACCESS_TYPE.'.log';
$this->logFile = $CC_CONFIG['bufferDir'].'/'.$this->ACCESS_TYPE.'.log';
if ($this->loglevel == 'debug') {
$this->addLogItem("-I- ".date("Ymd-H:i:s")." construct\n");
}