Skip to content

Commit

Permalink
Update wp-config.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
basilhendroff authored Oct 24, 2020
1 parent 82f6dba commit 0c6e5d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/wp-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
infile="/usr/local/www/wordpress/wp-config.php"
outfile="/usr/local/www/wordpress/wp-config.tmp"

# Random number generator (allow additional special characters ampersand (&) and pipe symbol (|))
# Random password generator (allow additional special characters ampersand (&), space ( ) and pipe symbol (|))
rand() {
local rnum=$(LC_ALL=C tr -dc 'A-Za-z0-9 !#$%&()*+,-./:;<=>?@[]^_`{|}~' </dev/urandom | head -c "$1" ; echo)
echo $rnum
Expand Down

0 comments on commit 0c6e5d9

Please sign in to comment.