Unverified Commit 6e095711 authored by Lauri Timmanee's avatar Lauri Timmanee
Browse files

Issue #3262674 by tstoeckler, lauriii, cindytwilliams, mherchel, Gábor Hojtsy:...

Issue #3262674 by tstoeckler, lauriii, cindytwilliams, mherchel, Gábor Hojtsy: Use Claro instead of Bartik as fallback maintenance theme

(cherry picked from commit 047faa3e)
parent ae2382fc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -591,7 +591,7 @@
 *
 * Note: This setting does not apply to installation and update pages.
 */
# $settings['maintenance_theme'] = 'bartik';
# $settings['maintenance_theme'] = 'claro';

/**
 * PHP settings:
+3 −3
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
 * Used for site installs, updates and when the site is in maintenance mode.
 * It also applies when the database is unavailable or bootstrap was not
 * complete. Seven is always used for the initial install and update
 * operations. In other cases, Bartik is used, but this can be overridden by
 * operations. In other cases, Claro is used, but this can be overridden by
 * setting a "maintenance_theme" key in the $settings variable in settings.php.
 */
function _drupal_maintenance_theme() {
@@ -53,8 +53,8 @@ function _drupal_maintenance_theme() {
    }
    if (!$custom_theme) {
      // We have been unable to identify the configured theme, so fall back to
      // a safe default. Bartik is reasonably user friendly and fairly generic.
      $custom_theme = 'bartik';
      // a safe default. Claro is reasonably user friendly and fairly generic.
      $custom_theme = 'claro';
    }
  }

+1 −1
Original line number Diff line number Diff line
@@ -591,7 +591,7 @@
 *
 * Note: This setting does not apply to installation and update pages.
 */
# $settings['maintenance_theme'] = 'bartik';
# $settings['maintenance_theme'] = 'claro';

/**
 * PHP settings: