[development] $user->uid from outside drupal
tamirk at gmail.com
Sun Jun 18 19:20:33 UTC 2006
> > Take a look at drupal_bootstrap(). I'm not sure if you need to do a full
> > bootstrap, but I don't think it would hurt. See update.php for an
> > example.
> It will hurt your performance. You want DRUPAL_BOOTSTRAP_SESSION.
> > http://api.drupal.org/api/4.7/function/drupal_bootstrap
> wow. including bootstrap.inc and common.inc basically loaded all Drupal
> which is quite a heavy operation...
basicly i did it WITHOUT drupal_bootstrap. The only thing I want to
know if the user logged in or from outside drupal enviroment (not from
More information about the development