point to install file with hardcoded values to avoid broken setup

This commit is contained in:
Robb Ebright 2017-11-16 22:02:30 -05:00
parent d356b754df
commit bab3c235dc
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ class MediaSetup extends Setup {
function setupMusicDirectory() { function setupMusicDirectory() {
try { try {
$_SERVER['AIRTIME_CONF'] = AIRTIME_CONF_TEMP_PATH; $_SERVER['AIRTIME_CONF'] = AIRTIME_CONF_TEMP_PATH;
Propel::init(AIRTIME_CONF_TEMP_PATH); Propel::init(CONFIG_PATH . "airtime-conf-production.php");
$con = Propel::getConnection(); $con = Propel::getConnection();
} catch(Exception $e) { } catch(Exception $e) {
self::$message = "Failed to insert media folder; database isn't configured properly!"; self::$message = "Failed to insert media folder; database isn't configured properly!";