Commit e7f654fa authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Add false FTP details

This is intended to subvert the Site Health report's issue stating that
the installation needs to prompt for FTP credentials, breaking
background updates; upgrades are performed directly by a cron process
with write permissions so this is a non-issue.
parent 6d19fba0
Loading
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -16,6 +16,16 @@ define('DISABLE_WP_CRON', true);
 **/
define('UPLOADS', 'media');

/**
 * Stop the site-health tool from complaining about unwritable filesystems.
 * Background upgrades are performed by a user with write privileges via the
 * wp-cli tool.
 **/
if ( !defined( 'WP_CLI' ) ):
define('FTP_USER', 'nemo');
define('FTP_PASS', '****');
endif;

/**
 * Run the Composer autoloader, if available
 * Assume the CWD is always /app and vendor is always in it.