forked from LiveCarta/LiveCartaWP
14
environments/dev/domain_db_fix.sql
Normal file
14
environments/dev/domain_db_fix.sql
Normal file
@@ -0,0 +1,14 @@
|
||||
######FOR TEST DEV ENV
|
||||
|
||||
update wp_options set option_value = "https://dev.lawcarta.com" where option_id = 1 limit 1;
|
||||
update wp_options set option_value = "https://dev.lawcarta.com" where option_id = 2 limit 1;
|
||||
|
||||
update wp_2_options set option_value = "https://dev.livecarta.com" where option_id = 1 limit 1;
|
||||
update wp_2_options set option_value = "https://dev.lawcarta.com/livecarta" where option_id = 2 limit 1;
|
||||
|
||||
update wp_blogs set domain = "dev.lawcarta.com" where blog_id = 1 limit 1;
|
||||
update wp_blogs set domain = "dev.lawcarta.com" where blog_id = 2 limit 1;
|
||||
|
||||
update wp_domain_mapping set domain = "dev.livecarta.com" where blog_id = 2 limit 1;
|
||||
|
||||
update wp_site set domain = "dev.lawcarta.com" where id =1 limit 1;
|
||||
@@ -1,13 +1,13 @@
|
||||
<?php
|
||||
|
||||
define( 'DB_NAME', 'WordPress' );
|
||||
define( 'DB_USER', 'wpuser' );
|
||||
define( 'DB_PASSWORD', 'BPB6Eter&tjFcL?a' );
|
||||
define( 'DB_HOST', 'localhost' );
|
||||
define( 'DB_NAME', '@lcWpMySqlDbnameDev@' );
|
||||
define( 'DB_USER', '@lcWpMySqlUsernameDev@' );
|
||||
define( 'DB_PASSWORD', '@lcWpMySqlPasswordDev@' );
|
||||
define( 'DB_HOST', '@lcWpMySqlHostDev@' );
|
||||
|
||||
define('DOMAIN_CURRENT_SITE', 'dev1.lawcarta.com');
|
||||
define('DOMAIN_CURRENT_SITE', 'dev.lawcarta.com');
|
||||
|
||||
define('LAWCARTA_SUBDOMAIN', 'app-dev1');
|
||||
define('LAWCARTA_SUBDOMAIN', 'app-dev');
|
||||
define('LAWCARTA_PORT', '');
|
||||
|
||||
define('LAWCARTA_WP_REST_API_REQUEST_URL', 'https://app-dev1.lawcarta.com/v1/event/request');
|
||||
|
||||
Reference in New Issue
Block a user