From 3165c56db9df4d2399e900a8d6eaffcd092359f7 Mon Sep 17 00:00:00 2001 From: Piotr Bogdan Date: Tue, 31 Oct 2017 17:37:11 +0000 Subject: [PATCH] apache-httpd/wordpress: disable built-in WordPress autoupdater --- nixos/modules/services/web-servers/apache-httpd/wordpress.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/web-servers/apache-httpd/wordpress.nix b/nixos/modules/services/web-servers/apache-httpd/wordpress.nix index c6f4bcd0f666..1c654667dfc7 100644 --- a/nixos/modules/services/web-servers/apache-httpd/wordpress.nix +++ b/nixos/modules/services/web-servers/apache-httpd/wordpress.nix @@ -13,6 +13,7 @@ let define('DB_HOST', '${config.dbHost}'); define('DB_CHARSET', 'utf8'); $table_prefix = '${config.tablePrefix}'; + define('AUTOMATIC_UPDATER_DISABLED', true); ${config.extraConfig} if ( !defined('ABSPATH') ) define('ABSPATH', dirname(__FILE__) . '/');