Created
April 19, 2016 17:28
-
-
Save ptahdunbar/3873f5cf59a1dbc4dcb46b18abf12045 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | |
SELECT * FROM core_config_data WHERE scope = 'default' AND path LIKE '%secure/base_url%'; | |
SET @DOMAIN = 'magento.dev'; | |
UPDATE core_config_data SET `value` = CONCAT('https://', @DOMAIN, '/') WHERE path = 'web/secure/base_url'; | |
UPDATE core_config_data SET `value` = CONCAT('http://', @DOMAIN, '/') WHERE path = 'web/unsecure/base_url'; | |
SELECT * FROM core_config_data WHERE scope = 'default' AND path LIKE '%secure/base_url%'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment