cleanup
This commit is contained in:
parent
a60da7a0c7
commit
aac9529e12
@ -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
|
||||
|
@ -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" }}
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user