point to install file with hardcoded values to avoid broken setup
This commit is contained in:
parent
d356b754df
commit
bab3c235dc
|
@ -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!";
|
||||||
|
|
Loading…
Reference in New Issue