开发者

How far into drupal bootstrap to get global $user

开发者 https://www.devze.com 2023-01-08 04:53 出处:网络
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

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

精彩评论

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