Skip to content

Commit

Permalink
small improvements
Browse files Browse the repository at this point in the history
Small improvements!
  • Loading branch information
QROkes committed Jun 26, 2024
1 parent 7e37245 commit 19bc789
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/general
Original file line number Diff line number Diff line change
Expand Up @@ -2007,8 +2007,8 @@ ads_donate() {
echo "${blu}"
echo "****************************************************************************"
echo "******************** ${bol}Are you enjoying Webinoly?${end}${blu} ********************"
echo "*** ${dim}With just \$1 you can make a difference to keep this project alive!${end}${blu} ***"
echo "*********** ${bol}Donate Now!${end}${blu}${dim} https://github.com/sponsors/QROkes${end}${blu} ***********"
echo "**** ${dim}Join us and be part of our small and selected Premium Community.${end}${blu} ****"
echo "*************** ${dim} https://webinoly.com/premium/ ${end}${blu} ****************"
echo "****************************************************************************"
echo "${end}"
conf_write cron-ads $EPOCHSECONDS
Expand Down
8 changes: 7 additions & 1 deletion lib/verify
Original file line number Diff line number Diff line change
Expand Up @@ -659,8 +659,8 @@ if [[ -z $critical_mode ]]; then
local ver_three_war="1"
fi

# Check for PHP version
if [[ $(conf_read php) == "true" ]]; then
# Check for PHP version
local ver_php_ver=$(php -v | grep -m1 "" | sed 's/PHP \([^\-]*\).*/\1/' | cut -f 1-2 -d'.')

if [[ $(conf_read php-ver) != $ver_php_ver ]]; then
Expand All @@ -677,6 +677,12 @@ if [[ -z $critical_mode ]]; then
#elif [[ $ver_php_ver == "8.1" ]]; then
# echo "${blu}${dim}- [INFO] PHP v8.2 or later is recommended to get an optimal perfomance! (Current: ${ver_php_ver}) ${end}${red}"
fi

# Security check...
if [[ $(conf_read php-disable-functions) == "off" ]]; then
echo "${dim}- [WARNING] PHP Security is compromised! (disable_functions)${end}${red}"
local ver_three_war="1"
fi
fi


Expand Down
6 changes: 3 additions & 3 deletions weby
Original file line number Diff line number Diff line change
Expand Up @@ -255,14 +255,14 @@ if [[ -z $(conf_read stack-build-error-flag) && $type != "Error" ]]; then # We u

echo "${blu}"
echo "****************************************************************************"
echo "************************ D O N A T I O N S *************************"
echo "*** ${bol}If you like Webinoly, buy me a coffee or beer to show support.${end}${blu} ***"
echo "************************* WEBINOLY PREMIUM *************************"
echo "***** ${bol}Become a Sponsor now and be part of our Premium Community!${end}${blu} *****"
echo "****************************************************************************"
echo "************* Bitcoin: ${end}${dim}1E3Ybo5UcvaAr1MoK4nBnMRFFY9aEMiku3 ${end}${blu}**********"
echo "******* GitHub Sponsors:${end}${dim} https://github.com/sponsors/QROkes ${end}${blu}**********"
echo "*************** PayPal:${end}${dim} https://www.paypal.me/qrokes ${end}${blu}****************"
echo "****************************************************************************"
echo "*** ${end}${dim}Your regular donations is what keep this project moving forward.${end}${blu} ***"
echo "********** ${end}${dim}Help me keep this project moving forward.${end}${blu} ***********"
echo "****************************************************************************"
echo "${end}"
else
Expand Down

0 comments on commit 19bc789

Please sign in to comment.