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.
| Comment | File | Size | Author |
|---|---|---|---|
| bootstrap_global_status_01.patch | 927 bytes | jose reyero |
Comments
Comment #1
lilou commentedThis feature request is it still valid ?
Comment #2
mr.baileysIn D7, modules can discover what bootstrap phase they're called in by calling drupal_get_bootstrap_phase(), so bumping to 6.x.