Merge pull request #3131 from gregory-p/wordpress

add local config
This commit is contained in:
bivis
2019-10-08 10:13:46 +03:00
committed by GitHub
2 changed files with 26 additions and 0 deletions

View 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;

View 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', '');