How far into drupal bootstrap to get global $user
If I want to use global $user in a php file outside the drupal system, how far into the boostrap using drupal_boostrap() must I go. I don't want to use DRUPAL_BOOTSTRAP_FULL since it开发者_如何学JAVA sets the HTTP header.
DRUPAL_BOOTSTRAP_SESSION is when the user object is populated.
精彩评论