Commit 1e11b964 authored by webchick's avatar webchick

Issue #2056845 by StephaneQ | tstoeckler: Fixed Stale documentation in...

Issue #2056845 by StephaneQ | tstoeckler: Fixed Stale documentation in drupal_bootstrap() regarding DRUPAL_ROOT.
parent 1039d1de
......@@ -1752,8 +1752,7 @@ function drupal_anonymous_user() {
*
* In order to bootstrap Drupal from another PHP script, you can use this code:
* @code
* define('DRUPAL_ROOT', '/path/to/drupal');
* require_once DRUPAL_ROOT . '/core/includes/bootstrap.inc';
* require_once '/path/to/drupal/core/includes/bootstrap.inc';
* drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
* @endcode
*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment