git.iko.soy/typeable/nixpkgs
on master help sign in
wordpress: Execute the extraConfig before loading wp-settings.php

This is needed so that settings defined in extraConfig actually get handled.

commita9332583eb2155939334acb14bfb62012bc18b62 authorBas van Dijk <v.dijk.bas@gmail.com> dateWed 9 Sep 2015, 01:12 (11 years ago) parenta403f13
1 file changed+1−1
nixos/modules/services/web-servers/apache-httpd/wordpress.nix+1−1
nixos/modules/services/web-servers/apache-httpd/wordpress.nix+1−1
@@ -17,10 +17,10 @@ let
1717 define('DB_HOST', '${config.dbHost}');
1818 define('DB_CHARSET', 'utf8');
1919 $table_prefix = '${config.tablePrefix}';
20+ ${config.extraConfig}
2021 if ( !defined('ABSPATH') )
2122 define('ABSPATH', dirname(__FILE__) . '/');
2223 require_once(ABSPATH . 'wp-settings.php');
23− ${config.extraConfig}
2424 '';
2525
2626 # .htaccess to support pretty URLs