forked from LiveCarta/LiveCartaWP
@@ -218,6 +218,10 @@ function get_lawcarta_url(){
|
|||||||
if(LAWCARTA_ENVIRONMENT_NAME == 'staging' && $wp_sub_domain == 'staging-live'){
|
if(LAWCARTA_ENVIRONMENT_NAME == 'staging' && $wp_sub_domain == 'staging-live'){
|
||||||
$host = str_replace('staging-law', 'staging-live',$host);
|
$host = str_replace('staging-law', 'staging-live',$host);
|
||||||
}
|
}
|
||||||
|
//Temporary fix for new prod env because of it use same domain carta.live for both lawcarta/livecarta
|
||||||
|
if(LAWCARTA_ENVIRONMENT_NAME == 'prod' && $wp_sub_domain == 'prod-live'){
|
||||||
|
$host = str_replace('prod-law', 'prod-live',$host);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$port = isset($urlParts['port']) ? $urlParts['port'] : '';
|
$port = isset($urlParts['port']) ? $urlParts['port'] : '';
|
||||||
|
|||||||
Reference in New Issue
Block a user