title: Wordpress SITE_URL in wp-config.php is not overriding database setting
body: <p>In order to make my wordpress site easier to deploy I have added the following code to wp-config.php:</p>
  
  <pre><code>define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST']);
  define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST']);
  </code></pre>
  
  <p>It is my understanding that this should override any values stored in the database, but when I view source I see that wherever I have:</p>
  
  <pre><code>&lt;?php bloginfo('template_directory'); ?&gt;
  </code></pre>
  
  <p>...it is printing out the domain from the database value, rather than the one in wp-config.</p>