Drupal: Difference between revisions

Abmurrow (talk | contribs)
Add new hostname config
Klinger (talk | contribs)
 
Line 208: Line 208:
services.drupal.sites."localhost".stateDir = /path/to/custom/state/dir;
services.drupal.sites."localhost".stateDir = /path/to/custom/state/dir;
</syntaxhighlight><blockquote>'''Note''': Changing the state directory does not automatically change the location of the <code>modules</code>, <code>themes</code>, <code>config</code>, or <code>files</code> directories. You can override those locations by using the <code>modulesDir</code> and <code>themesDir</code>, <code>configDir</code>, <code>filesDir</code> keys, accordingly.</blockquote>
</syntaxhighlight><blockquote>'''Note''': Changing the state directory does not automatically change the location of the <code>modules</code>, <code>themes</code>, <code>config</code>, or <code>files</code> directories. You can override those locations by using the <code>modulesDir</code> and <code>themesDir</code>, <code>configDir</code>, <code>filesDir</code> keys, accordingly.</blockquote>
[[Category:Server]]
[[Category:Web Applications]]