Below bash script create for me in WP-CLI config file and add database details:
#set database details in the config file
su -s /bin/bash -c "/usr/local/bin/wp config create --dbname=$wpconfigdbuser --dbuser=$wpconfigdbuser --dbpass=$dbpass --dbhost=localhost" $username
I need to add to .wp-config this 2 lines code:
define('DISALLOW_FILE_EDIT', true);
define('DISALLOW_FILE_MODS', true);
Can anyone help me?