diff options
author | Alex Pott <alex.a.pott@googlemail.com> | 2013-05-19 12:32:09 -0700 |
---|---|---|
committer | Alex Pott <alex.a.pott@googlemail.com> | 2013-05-19 12:32:09 -0700 |
commit | 750b5273181196d3c0925ceff853d1803ee0d665 (patch) | |
tree | f1fa3023cc289866ca89315e370bd03ac0802f52 /index.php | |
parent | 66e6eb8d36ce7ebc9f22fb147bb53ef969b92265 (diff) | |
download | drupal-750b5273181196d3c0925ceff853d1803ee0d665.tar.gz drupal-750b5273181196d3c0925ceff853d1803ee0d665.zip |
Issue #1872522 by chx, effulgentsia, sun, aspilicious, desmondmorris, Berdir, jibran, YesCT: Fixed Compiled data in PHP storage is cleared too late in drupal_flush_all_caches().
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/index.php b/index.php index f0949e0638b..4934bd2700d 100644 --- a/index.php +++ b/index.php @@ -9,4 +9,10 @@ */ require_once __DIR__ . '/core/includes/bootstrap.inc'; -drupal_handle_request(); +try { + drupal_handle_request(); +} +catch (Exception $e) { + print 'If you have just changed code (for example deployed a new module or moved an existing one) read http://drupal.org/documentation/rebuild'; + throw $e; +} |