@@ -105,6 +105,14 @@ define('DB_CHARSET', 'utf8');
105105/** The Database Collate type. Don't change this if in doubt. */
106106define('DB_COLLATE', '');
107107
108+ /** The FTP settings. These settings are assumed, and if using
109+ the ServerCobra set of scripts, it will work automagically */
110+ /* WordPress FTP Information (For removing the constant password request on plugin install and removal) */
111+
112+ define(" FTP_HOST" , " $1 " );
113+ define(" FTP_USER" , " $DOMAIN_NAME " );
114+ define(" FTP_PASS" , " $USER_PASS " );
115+
108116/**#@+
109117 * Authentication Unique Keys and Salts.
110118 *
@@ -160,8 +168,18 @@ require_once(ABSPATH . 'wp-settings.php');" >> wp-config.php
160168# the security keys.
161169rm index.html
162170
171+ # Make sure no one can read this file, since it has all the passwords and such
172+ chmod 770 $DOMAIN_NAME wp-config.php
173+
163174# Installation is now complete..
164175
176+ echo " ////////////////////////////////////////////////////////////////////////////////"
165177echo " Install completed successfully!"
166178echo " Please visit http://$1 /wp-admin/install.php to finalize your installation."
167-
179+ echo " "
180+ echo " Your new wordpress username is: $DOMAIN_NAME "
181+ echo " with password: $USER_PASS "
182+ echo " and your MySQL username is: $DOMAIN_NAME "
183+ echo " with password: $DB -PASS"
184+ echo " "
185+ echo " You can also find these in wp-config.php"
0 commit comments