开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜