Mercurial > hg > cmmr2012-drupal-site
comparison core/rebuild.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | a9cd425dd02b |
children |
comparison
equal
deleted
inserted
replaced
4:a9cd425dd02b | 5:12f9dff5fda9 |
---|---|
52 | 52 |
53 drupal_rebuild($autoloader, $request); | 53 drupal_rebuild($autoloader, $request); |
54 \Drupal::messenger()->addStatus('Cache rebuild complete.'); | 54 \Drupal::messenger()->addStatus('Cache rebuild complete.'); |
55 } | 55 } |
56 $base_path = dirname(dirname($request->getBaseUrl())); | 56 $base_path = dirname(dirname($request->getBaseUrl())); |
57 header('Location: ' . $base_path); | 57 header('Location: ' . $request->getSchemeAndHttpHost() . $base_path); |