Skip to content

Instantly share code, notes, and snippets.

@jackfoust
Last active November 4, 2015 14:20
Show Gist options
  • Save jackfoust/9e40a74c94b635b2347b to your computer and use it in GitHub Desktop.
Save jackfoust/9e40a74c94b635b2347b to your computer and use it in GitHub Desktop.
Drupal 7.40 settings.php changes.
# DIFF REPLACE
-$conf['404_fast_paths_exclude'] = '/\/(?:styles)\//';
+$conf['404_fast_paths_exclude'] = '/\/(?:styles)|(?:system\/files)\//';
# ADD TO END OF FILE
/**
* Theme debugging:
*
* When debugging is enabled:
* - The markup of each template is surrounded by HTML comments that contain
* theming information, such as template file name suggestions.
* - Note that this debugging markup will cause automated tests that directly
* check rendered HTML to fail.
*
* For more information about debugging theme templates, see
* https://www.drupal.org/node/223440#theme-debug.
*
* Not recommended in production environments.
*
* Remove the leading hash sign to enable.
*/
# $conf['theme_debug'] = TRUE;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment