diff --git a/README.md b/README.md index 9904853..f910d8a 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Webinoly provides a set of tools and commands that facilitate web server adminis ```bash # Install Webinoly and LEMP -wget -qO weby qrok.es/wy && sudo bash weby 3 +wget -qO weby qrok.es/wy && sudo bash weby # Create your first site. sudo site example.com -wp diff --git a/lib/general b/lib/general index e988030..4aa9bcf 100644 --- a/lib/general +++ b/lib/general @@ -4,7 +4,7 @@ # Prevent 'tput' errors when running from Cron [[ -z $TERM || $TERM == "unknown" || $TERM == "dumb" ]] && export TERM=dumb -readonly app_version="1.16.0" +readonly app_version="1.16.1" readonly svr_version="1.7" readonly os_ubuntu_supported=(bionic focal) readonly php_supported=(7.4 8.0 8.1) diff --git a/lib/install b/lib/install index 4f0ee50..f3480dd 100644 --- a/lib/install +++ b/lib/install @@ -392,7 +392,7 @@ php_optim() { # post_max must be a little larger and memory a little more larger - https://www.php.net/manual/en/ini.core.php#ini.post-max-size sudo sed -i -r "/^[;]?upload_max_filesize =/c\upload_max_filesize = $(check_var max-mb-uploads)M" /etc/php/$ver/fpm/php.ini sudo sed -i -r "/^[;]?post_max_size =/c\post_max_size = $(($(check_var max-mb-uploads)+1))M" /etc/php/$ver/fpm/php.ini - sudo sed -i -r '/^[;]?max_file_uploads =/c\max_file_uploads = $(check_var php-max-files)' /etc/php/$ver/fpm/php.ini + sudo sed -i -r "/^[;]?max_file_uploads =/c\max_file_uploads = $(check_var php-max-files)" /etc/php/$ver/fpm/php.ini [[ $(check_var php-max-mem) -gt $(($(check_var max-mb-uploads)+1)) ]] && local phpmem=$(check_var php-max-mem) || local phpmem=$(($(check_var max-mb-uploads)+10)) sudo sed -i -r "/^[;]?memory_limit =/c\memory_limit = ${phpmem}M" /etc/php/$ver/fpm/php.ini diff --git a/templates/general/conf b/templates/general/conf index 5c077dc..958f235 100644 --- a/templates/general/conf +++ b/templates/general/conf @@ -163,7 +163,7 @@ #awsiamrole:false -# WordPress Login Basic Authentican +# WordPress Login Basic Authentication # Values: boolean (true/false) # Default: true # Note: (server-reset not needed)