Skip to content

Instantly share code, notes, and snippets.

@doug48
Created April 29, 2016 10:37
Show Gist options
  • Save doug48/0197bfc4dbd5b9b5903b3560d4ffe6ab to your computer and use it in GitHub Desktop.
Save doug48/0197bfc4dbd5b9b5903b3560d4ffe6ab to your computer and use it in GitHub Desktop.
Shell script to turn off magento 2 template and block hints, add the file to ~/bin in your vagrant and set permissions to 755
#!/bin/bash
mysql -u root -proot << EOF
use party_local;
UPDATE party_local.core_config_data SET value='0' WHERE path='dev/debug/template_hints_blocks';
UPDATE party_local.core_config_data SET value='0' WHERE path='dev/debug/template_hints_storefront';
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment