Merge pull request #4595 from gregory-p/wordpress

Wordpress
This commit is contained in:
gregory-p
2021-01-18 16:48:28 +03:00
committed by GitHub
5 changed files with 82 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
######FOR TEST PROD ENV
update wp_options set option_value = "https://prod-law.carta.live" where option_id = 1 limit 1;
update wp_options set option_value = "https://prod-law.carta.live" where option_id = 2 limit 1;
update wp_2_options set option_value = "https://prod-live.carta.live" where option_id = 1 limit 1;
update wp_2_options set option_value = "https://prod-law.carta.live/livecarta" where option_id = 2 limit 1;
update wp_blogs set domain = "prod-law.carta.live" where blog_id = 1 limit 1;
update wp_blogs set domain = "prod-law.carta.live" where blog_id = 2 limit 1;
update wp_domain_mapping set domain = "prod-live.carta.live" where blog_id = 2 limit 1;
update wp_site set domain = "prod-law.carta.livem" where id =1 limit 1;

View File

@@ -0,0 +1,14 @@
######FOR TEST PROD ENV
update wp_options set option_value = "http://prod-law.carta.live" where option_id = 1 limit 1;
update wp_options set option_value = "http://prod-law.carta.live" where option_id = 2 limit 1;
update wp_2_options set option_value = "http://prod-live.carta.live" where option_id = 1 limit 1;
update wp_2_options set option_value = "http://prod-law.carta.live/livecarta" where option_id = 2 limit 1;
update wp_blogs set domain = "prod-law.carta.live" where blog_id = 1 limit 1;
update wp_blogs set domain = "prod-law.carta.live" where blog_id = 2 limit 1;
update wp_domain_mapping set domain = "prod-live.carta.live" where blog_id = 2 limit 1;
update wp_site set domain = "prod-law.carta.livem" where id =1 limit 1;

View File

@@ -0,0 +1,25 @@
<?php
define( 'DB_NAME', '@lcWpMySqlDbnameProd@' );
define( 'DB_USER', '@lcWpMySqlUsernameProd@' );
define( 'DB_PASSWORD', '@lcWpMySqlPasswordProd@' );
define( 'DB_HOST', '@lcWpMySqlHostProd@' );
define('DOMAIN_CURRENT_SITE', 'prod-law.carta.live');
define('LAWCARTA_SUBDOMAIN', 'app-prod-law');
define('LAWCARTA_PORT', '');
define('LAWCARTA_WP_REST_API_REQUEST_URL', 'https://app-prod-law.carta.live/v1/event/request');
define('LAWCARTA_WP_REST_API_RESPONSE_URL', 'https://app-prod-law.carta.live/v1/event/response');
define('LAWCARTA_ENVIRONMENT_NAME', 'prod');
$_SERVER['HTTPS'] = 'On';
//S3 uploads settings
define( 'S3_UPLOADS_BUCKET', 'law-carta-prod-wp' );
define( 'S3_UPLOADS_REGION', 'us-west-1' );
define( 'S3_UPLOADS_KEY', '@lcAwsKey@' );
define( 'S3_UPLOADS_SECRET', '@lcAwsSecretKey@' );

View File

@@ -96,5 +96,20 @@ require_once 'inc/walker-nav-menu.php';
</script>
<!-- End Twitter universal website tag code -->
<script type="text/javascript">
_linkedin_partner_id = "2191674";
window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
window._linkedin_data_partner_ids.push(_linkedin_partner_id);
</script><script type="text/javascript">
(function(){var s = document.getElementsByTagName("script")[0];
var b = document.createElement("script");
b.type = "text/javascript";b.async = true;
b.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js";
s.parentNode.insertBefore(b, s);})();
</script>
<noscript>
<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=2191674&fmt=gif" />
</noscript>
</body>
</html>

View File

@@ -90,5 +90,19 @@
</script>
<!-- End Twitter universal website tag code -->
<script type="text/javascript">
_linkedin_partner_id = "2191674";
window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
window._linkedin_data_partner_ids.push(_linkedin_partner_id);
</script><script type="text/javascript">
(function(){var s = document.getElementsByTagName("script")[0];
var b = document.createElement("script");
b.type = "text/javascript";b.async = true;
b.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js";
s.parentNode.insertBefore(b, s);})();
</script>
<noscript>
<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=2191674&fmt=gif" />
</noscript>
</body>
</html>