From 0c5ecd52128ebc3d3683be975297d05dfc03cc85 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 7 Apr 2022 17:09:55 +0200 Subject: [PATCH] Fix --- conf/.env.example | 2 +- scripts/_common.sh | 4 ++-- scripts/install | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/.env.example b/conf/.env.example index 0174860..1ea2ef5 100644 --- a/conf/.env.example +++ b/conf/.env.example @@ -6,7 +6,7 @@ APP_NAME=2FAuth # You can leave this on "local". If you change it to production most console commands will ask for extra confirmation. # Never set it to "testing". -APP_ENV=local +APP_ENV=production # Set to true if you want to see debug information in error screens. diff --git a/scripts/_common.sh b/scripts/_common.sh index c770dd6..28674dc 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,12 +4,12 @@ # COMMON VARIABLES #================================================= -YNH_PHP_VERSION="8.0" +YNH_PHP_VERSION="7.3" # Composer version YNH_COMPOSER_VERSION="2.3.3" -pkg_dependencies="php${YNH_PHP_VERSION}-sqlite3 php${YNH_PHP_VERSION}-bcmath php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-mysql" +pkg_dependencies="php${YNH_PHP_VERSION}-sqlite3 php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-bcmath php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-mysql" #================================================= # PERSONAL HELPERS diff --git a/scripts/install b/scripts/install index 6d0d50a..c32f767 100755 --- a/scripts/install +++ b/scripts/install @@ -136,7 +136,7 @@ pushd $final_path php$phpversion artisan passport:install -n php$phpversion artisan storage:link -n php$phpversion artisan config:cache -n - php$phpversion artisan key:generate + php$phpversion artisan key:generate -n popd #=================================================