<?php
//  const ENV = "TEST";
// const ENV = "PROD";
const ENV = "STAGING";

const BASEPATH  = (ENV == "TEST")? "/vrboconnector/" : "/sivrbo/";

const VRBO_lodgingRateUpdate_URL = (ENV == "PROD") ?
                    "https://integration.homeaway.com/services/external/lodgingRateUpdate/haxmlListingsVersion/4.2.1"
                    :
                    "https://integration.homeaway.com/services/external/lodgingRateUpdate/testEndpoint/haxmlListingsVersion/4.2.1";


const VRBO_unitAvailabilityUpdate_URL = (ENV == "PROD")?
                    "https://integration.homeaway.com/services/external/unitAvailabilityUpdate/haxmlListingsVersion/4.2.1"
                    :
                    "https://integration.homeaway.com/services/external/unitAvailabilityUpdate/testEndpoint/haxmlListingsVersion/4.2.1";


const VRMANAGED_URL = (ENV == "PROD")? "https://si.vrmanaged.com" : 'https://si.vrmanaged.com';

const USERNAME = "RedAwning";
const PASSWORD = "KJSWIQLXNZUW4ZY";

const CONFIG = [
    'database' => (ENV == "TEST") ? [
        'host' => "localhost",
        'user' => 'root',
        'pass' => '',
        'database' => 'vrm'
    ] : ((ENV == "STAGING") ? [
        'host' => "localhost",
        'user' => 'vrdevadmin01_sigsbee',
        'pass' => '%xlp{oCxDX=u',
        'database' => 'vrdevadmin01_sigsbee'
    ] : [
        'host'=>"localhost",
        'user'=>'vrdevadmin01_sigsbee',
        'pass'=>'%xlp{oCxDX=u',
        'database'=>'vrdevadmin01_sigsbee'
    ])
];