not all modules see the function of drupal_lookup_path now()

Fatal error: Call to undefined function: drupal_lookup_path() in /var/www/localhost/htdocs/modules/i18n/i18n.module on line 235

Comments

markus_petrux’s picture

It looks like path.inc should be included in DRUPAL_BOOTSTRAP_PAGE_CACHE stage, so its functions are available in hook_init.

chx’s picture

Status: Active » Closed (won't fix)

those modules can do a drupal_bootstrap(DRUPAL_BOOTSTRAP_PATH) including path.inc would defeat the cause of path.inc , to make bootstrapping faster when those functions are not needed.