forked from LiveCarta/LiveCartaWP
14
environments/local/domain_db_fix.sql
Normal file
14
environments/local/domain_db_fix.sql
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
######FOR TEST DEV ENV
|
||||||
|
|
||||||
|
update wp_options set option_value = "http://lawcarta.loc" where option_id = 1 limit 1;
|
||||||
|
update wp_options set option_value = "http://lawcarta.loc" where option_id = 2 limit 1;
|
||||||
|
|
||||||
|
update wp_2_options set option_value = "http://livecarta.loc" where option_id = 1 limit 1;
|
||||||
|
update wp_2_options set option_value = "http://lawcarta.loc/livecarta" where option_id = 2 limit 1;
|
||||||
|
|
||||||
|
update wp_blogs set domain = "lawcarta.loc" where blog_id = 1 limit 1;
|
||||||
|
update wp_blogs set domain = "lawcarta.loc" where blog_id = 2 limit 1;
|
||||||
|
|
||||||
|
update wp_domain_mapping set domain = "livecarta.loc" where blog_id = 2 limit 1;
|
||||||
|
|
||||||
|
update wp_site set domain = "lawcarta.loc" where id =1 limit 1;
|
||||||
12
environments/local/wp-config-local.php
Normal file
12
environments/local/wp-config-local.php
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
define( 'DB_NAME', 'WordPress' );
|
||||||
|
define( 'DB_USER', 'root' );
|
||||||
|
define( 'DB_PASSWORD', 'TK5nQ9AdHzsF1m' );
|
||||||
|
define( 'DB_HOST', 'localhost' );
|
||||||
|
|
||||||
|
define('DOMAIN_CURRENT_SITE', 'lawcarta.loc');
|
||||||
|
|
||||||
|
define('LAWCARTA_SUBDOMAIN', 'app');
|
||||||
|
define('LAWCARTA_PORT', '');
|
||||||
|
|
||||||
Reference in New Issue
Block a user