summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2015-11-16 13:16:10 +0100
committerDomen Kožar <domen@dev.si>2015-11-16 13:16:10 +0100
commitb76519069d297241c1337ea48d8783181d9c7bfb (patch)
tree9c5ac10f92693390d6f664f104b5992ce4e3bbbe /nixos
parent5b745f469f1957226d9987402872e673545961bb (diff)
parenta9332583eb2155939334acb14bfb62012bc18b62 (diff)
downloadnixlib-b76519069d297241c1337ea48d8783181d9c7bfb.tar
nixlib-b76519069d297241c1337ea48d8783181d9c7bfb.tar.gz
nixlib-b76519069d297241c1337ea48d8783181d9c7bfb.tar.bz2
nixlib-b76519069d297241c1337ea48d8783181d9c7bfb.tar.lz
nixlib-b76519069d297241c1337ea48d8783181d9c7bfb.tar.xz
nixlib-b76519069d297241c1337ea48d8783181d9c7bfb.tar.zst
nixlib-b76519069d297241c1337ea48d8783181d9c7bfb.zip
Merge pull request #9733 from basvandijk/wordpress-fix-extraConfig
wordpress: execute the extraConfig before loading wp-settings.php
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/web-servers/apache-httpd/wordpress.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-servers/apache-httpd/wordpress.nix b/nixos/modules/services/web-servers/apache-httpd/wordpress.nix
index 921f774bcaa0..7a0314027a3d 100644
--- a/nixos/modules/services/web-servers/apache-httpd/wordpress.nix
+++ b/nixos/modules/services/web-servers/apache-httpd/wordpress.nix
@@ -17,10 +17,10 @@ let
     define('DB_HOST',     '${config.dbHost}');
     define('DB_CHARSET',  'utf8');
     $table_prefix  = '${config.tablePrefix}';
+    ${config.extraConfig}
     if ( !defined('ABSPATH') )
     	define('ABSPATH', dirname(__FILE__) . '/');
     require_once(ABSPATH . 'wp-settings.php');
-    ${config.extraConfig}
   '';
 
   # .htaccess to support pretty URLs