diff -up wordpress/wp-config.php.orig wordpress/wp-config.php --- wordpress/wp-config.php.orig 2019-02-21 15:07:29.558863904 +0100 +++ wordpress/wp-config.php 2019-02-21 15:07:37.024901925 +0100 @@ -66,6 +66,19 @@ define( 'NONCE_SALT', 'put your un $table_prefix = 'wp_'; /** + * See http://make.wordpress.org/core/2013/10/25/the-definitive-guide-to-disabling-auto-updates-in-wordpress-3-7 + */ + +/* Disable all file change, as RPM base installation are read-only */ +define('DISALLOW_FILE_MODS', true); + +/* Disable automatic updater, in case you want to allow + above FILE_MODS for plugins, themes, ... */ +define('AUTOMATIC_UPDATER_DISABLED', true); + +/* Core update is always disabled, WP_AUTO_UPDATE_CORE value is ignore */ + +/** * For developers: WordPress debugging mode. * * Change this to true to enable the display of notices during development. @@ -83,7 +96,7 @@ define( 'WP_DEBUG', false ); /** Absolute path to the WordPress directory. */ if ( ! defined( 'ABSPATH' ) ) { - define( 'ABSPATH', dirname( __FILE__ ) . '/' ); + define('ABSPATH', '/usr/share/wordpress'); } /** Sets up WordPress vars and included files. */