This patch only makes bootstrap's current_phase a global variable, for which I renamed it.

This may be important for some modules which, in init/exit hooks, want to know whether they've been called from bootstrap for a cached page or from common.inc.

It will be used by i18n module but there may be some other uses.

CommentFileSizeAuthor
bootstrap_global_status_01.patch927 bytesJose Reyero
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lilou’s picture

Version: x.y.z » 7.x-dev

This feature request is it still valid ?

mr.baileys’s picture

Version: 7.x-dev » 6.x-dev

In D7, modules can discover what bootstrap phase they're called in by calling drupal_get_bootstrap_phase(), so bumping to 6.x.

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.