cleanup
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
Robert Kaussow 2019-10-03 19:30:44 +02:00
parent a60da7a0c7
commit aac9529e12
3 changed files with 2 additions and 16 deletions

View File

@ -122,7 +122,7 @@ PHP_REPORT_MEMLEAKS=On
PHP_HTML_ERRORSOn
PHP_ERROR_LOG=/proc/self/fd/2
PHP_POST_MAX_SIZE=8M
PHP_FILE_UPLOADS=Off
PHP_FILE_UPLOADS=On
PHP_UPLOAD_MAX_FILESIZE=2M
PHP_MAX_FILE_UPLOADS=2
PHP_ALLOW_URL_FOPEN=On

View File

@ -106,7 +106,7 @@ cgi.discard_path = 1
;cgi.rfc2616_headers = 0
;cgi.check_shebang_line = 1
file_uploads = {{ getenv "PHP_FILE_UPLOADS" "Off" }}
file_uploads = {{ getenv "PHP_FILE_UPLOADS" "On" }}
upload_tmp_dir = /var/lib/php/tmp_upload
upload_max_filesize = {{ getenv "PHP_UPLOAD_MAX_FILESIZE" "2M" }}
max_file_uploads = {{ getenv "PHP_MAX_FILE_UPLOADS" "2" }}

View File

@ -28,20 +28,6 @@ if [ "${FRESHRSS_DEFAULT_USER}" ]; then
esac
fi
echo "Result: success"
# printf "\nEnsure FreshRSS is installed...\n"
# INSTALL=$(/usr/bin/php ./cli/do-install.php --default_user "$FRESHRSS_DEFAULT_USER" 2>&1)
# if [ $? -ne 0 ]; then
# case "$INSTALL" in
# *"already installed"*)
# /usr/bin/php ./cli/reconfigure.php --default_user "$FRESHRSS_DEFAULT_USER"
# ;;
# *)
# echo $INSTALL
# exit 1
# ;;
# esac
# fi
fi
if [ -f "/var/www/app/data/do-install.txt" ]; then