diff options
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php index 2181fb3d8d0..4916a6c1cee 100644 --- a/index.php +++ b/index.php @@ -16,7 +16,7 @@ try { } catch (Exception $e) { $message = 'If you have just changed code (for example deployed a new module or moved an existing one) read <a href="http://drupal.org/documentation/rebuild">http://drupal.org/documentation/rebuild</a>'; - if (settings()->get('rebuild_access', FALSE)) { + if (\Drupal\Component\Utility\Settings::get('rebuild_access', FALSE)) { $rebuild_path = $GLOBALS['base_url'] . '/rebuild.php'; $message .= " or run the <a href=\"$rebuild_path\">rebuild script</a>"; } |