# Copy this file to .env and fill in the values. Git does not track .env. # To keep the file outside the web root, set XXX_ENV_FILE to its path. # MySQL connection DB_HOST=localhost DB_USER=xxx DB_PASS= DB_NAME=xxx # Address of the site. The RSS feed links, the notification email and the # cookie domain use it, and the pages send plain HTTP requests to this # host over HTTPS. The email addresses are editor@ and webmaster@ this # host. If it is empty, the pages refuse plain HTTP. SITE_URL=https://xxx.org.za # Google reCAPTCHA Enterprise checkbox key and its Google Cloud project ID. # Enable the reCAPTCHA Enterprise API in that project. RECAPTCHA_API_KEY is # a server-side Google Cloud API key, not the old reCAPTCHA secret. Restrict # it to that API and, if possible, the server's outbound IP address. # SITE_URL must have the same hostname as the page that shows the checkbox. # Leave RECAPTCHA_SITE_KEY empty to turn the captcha off. RECAPTCHA_SITE_KEY= RECAPTCHA_PROJECT_ID= RECAPTCHA_API_KEY= # Google Analytics tracking ID. Leave it empty to turn analytics off. GOOGLE_ANALYTICS_ID= # Directory for uploaded images waiting to be saved. Keep it outside the # web root. The default is xxx-uploads in the system temporary directory. UPLOAD_DIR= # The largest image a story can have, in megabytes (default 1). Set it # to none for no limit. PHP's upload_max_filesize still applies. UPLOAD_MAX_MB= # The most that the upload directory holds, in megabytes (default 100). # Past this, previews do not keep new images. Abandoned uploads are # removed after a day. UPLOAD_DIR_LIMIT_MB= # Show PHP errors in the page (1) or on stderr (stderr). Leave it empty in # production: errors always go to the PHP error log. DISPLAY_ERRORS=