This commit is contained in:
atsaruk
2022-11-04 13:56:40 +03:00
parent 772df2e08d
commit bcc7c1461a
21 changed files with 44 additions and 170 deletions

View File

@@ -1,14 +1,4 @@
######FOR TEST PROD ENV
update wp_options set option_value = "https://lawcarta.com" where option_id = 1 limit 1;
update wp_options set option_value = "https://lawcarta.com" where option_id = 2 limit 1;
update wp_2_options set option_value = "https://livecarta.com" where option_id = 1 limit 1;
update wp_2_options set option_value = "https://lawcarta.com/livecarta" where option_id = 2 limit 1;
update wp_blogs set domain = "lawcarta.com" where blog_id = 1 limit 1;
update wp_blogs set domain = "lawcarta.com" where blog_id = 2 limit 1;
update wp_domain_mapping set domain = "livecarta.com" where blog_id = 2 limit 1;
update wp_site set domain = "lawcarta.com" where id =1 limit 1;
update wp_options set option_value = "https://livecarta.com" where option_id = 1 limit 1;
update wp_options set option_value = "https://livecarta.com" where option_id = 2 limit 1;

View File

@@ -1,14 +1,4 @@
######FOR TEST PROD ENV
update wp_options set option_value = "http://lawcarta.com" where option_id = 1 limit 1;
update wp_options set option_value = "http://lawcarta.com" where option_id = 2 limit 1;
update wp_2_options set option_value = "http://livecarta.com" where option_id = 1 limit 1;
update wp_2_options set option_value = "http://lawcarta.com/livecarta" where option_id = 2 limit 1;
update wp_blogs set domain = "lawcarta.com" where blog_id = 1 limit 1;
update wp_blogs set domain = "lawcarta.com" where blog_id = 2 limit 1;
update wp_domain_mapping set domain = "livecarta.com" where blog_id = 2 limit 1;
update wp_site set domain = "lawcarta.com" where id =1 limit 1;
update wp_options set option_value = "http://livecarta.com" where option_id = 1 limit 1;
update wp_options set option_value = "http://livecarta.com" where option_id = 2 limit 1;

View File

@@ -10,13 +10,13 @@ define( 'DB_HOST', '@lcWpMySqlHostProd@' );
#define( 'DB_PASSWORD', '@lcWpMySqlPasswordProd@' );
#define( 'DB_HOST', '@lcWpMySqlHostProd@' );
define('DOMAIN_CURRENT_SITE', 'lawcarta.com');
define('DOMAIN_CURRENT_SITE', 'livecarta.com');
define('LAWCARTA_SUBDOMAIN', 'app');
define('LAWCARTA_PORT', '');
define('LAWCARTA_WP_REST_API_REQUEST_URL', 'https://app.lawcarta.com/v1/event/request');
define('LAWCARTA_WP_REST_API_RESPONSE_URL', 'https://app.lawcarta.com/v1/event/response');
define('LAWCARTA_WP_REST_API_REQUEST_URL', 'https://app.livecarta.com/v1/event/request');
define('LAWCARTA_WP_REST_API_RESPONSE_URL', 'https://app.livecarta.com/v1/event/response');
define('LAWCARTA_ENVIRONMENT_NAME', 'prod');