Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo "Enter theme to change to"
- && read i
- && mysql --user=`grep DB_USER wp-config.php | cut -d ' -f 4`
- --password=`grep DB_PASSWORD wp-config.php | cut -d ' -f 4`
- `grep DB_NAME wp-config.php | cut -d ' -f 4`
- -ve "update $(grep DB_NAME wp-config.php | cut -d ' -f 4).$(grep table_prefix wp-config.php | cut -d ' -f 2)options set option_value='$i'
- where $(grep table_prefix wp-config.php | cut -d ' -f 2)options.option_name='template'
- and $(grep table_prefix wp-config.php | cut -d ' -f 2)options.option_name='stylesheet';"
- update johnanh1_wordpress069.wp_owub_options set option_value='test'
- where wp_owub_options.option_name='template'
- and wp_owub_options.option_name='stylesheet'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement